Uma área de pesquisa sobre o WordPress para devs e autores do tema



user_contactmethods ›

Desde2.9.0
Obsoleton/a
apply_filters( 'user_contactmethods', $methods, $user )
Parâmetros: (2)
  • (array) $methods Array of contact methods and their labels.
    Required: Yes
  • (WP_User) $user WP_User object.
    Required: Yes
Definido em:
Codex:

Filters the user contact methods.





Fonte

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