apply_filters( 'user_contactmethods', string[] $methods, WP_User|null $user )

Filters the user contact methods.


Parameters

$methods

Array of contact method labels keyed by contact method.

$user

WP_User object or null if none was provided.


Source

File: wp-includes/user.php

View on GitHub


Changelog

Changelog
Version Description
2.9.0 Introduced.