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



the_author_{$field} › Hooks de Filtros WordPress

Desde2.8.0
Obsoleton/a
› apply_filters( "the_author_{$field}", $author_meta, $user_id )
Parâmetros: (2)
  • () author_meta The value of the metadata.
    Required: Yes
  • () user_id The user ID.
    Required: Yes
Definido em:
Codex:

Filters the value of the requested user metadata.

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




Fonte

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