A WordPress-centric search engine for devs and theme authors



the_author_{$field} ›

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) $user_id The user ID.
    Required: Yes
Defined at:
Codex:

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 );