A WordPress-centric search engine for devs and theme authors



user_contactmethods ›

Since2.9.0
Deprecatedn/a
apply_filters( 'user_contactmethods', $methods, $user )
Parameters: (2)
  • (array) $methods Array of contact methods and their labels.
    Required: Yes
  • (WP_User) $user WP_User object.
    Required: Yes
Defined at:
Codex:

Filters the user contact methods.





Source

return apply_filters( 'user_contactmethods', $methods, $user );