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



get_the_author_{$field} › WordPress Filter Hooks

Since4.3.0
Deprecatedn/a
apply_filters( "get_the_author_{$field}", $value, $user_id, $original_user_id )
Parameters: (3)
  • (string) $value The value of the metadata.
    Required: Yes
  • (int) $user_id The user ID for the value.
    Required: Yes
  • (int|false) $original_user_id The original user ID, as passed to the function.
    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

return apply_filters( "get_the_author_{$field}", $value, $user_id, $original_user_id );