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



get_the_author_{$field} › Hooks de Filtros WordPress

Desde4.3.0
Obsoleton/a
apply_filters( "get_the_author_{$field}", $value, $user_id, $original_user_id )
Parâmetros: (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
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

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