wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



the_author_{$field} › Les Filtres WordPress

Depuis2.8.0
Dépréciéen/a
apply_filters( "the_author_{$field}", $author_meta, $user_id )
Paramètres: (2)
  • (string) $author_meta The value of the metadata.
    Requis: Oui
  • (int|false) $user_id The user ID.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the value of the requested user metadata.

The filter name is dynamic and depends on the $field parameter of the function.





Source

echo apply_filters( "the_author_{$field}", $author_meta, $user_id );