wpseek.com
A WordPress-centric search engine for devs and theme authors



the_author_{$field} › WordPress Filter Hooks

Since2.8.0
Deprecatedn/a
apply_filters( "the_author_{$field}", $author_meta, $user_id )
Parameters: (2)
  • (string) $author_meta The value of the metadata.
    Required: Yes
  • (int|false) $user_id The user ID.
    Required: Yes
Defined at:
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 );