wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



the_author_{$field} › Filtr WordPress Hooks

Od2.8.0
Przestarzałyn/a
› apply_filters( "the_author_{$field}", $author_meta, $user_id )
Parametry: (2)
  • () author_meta The value of the metadata.
    Wymagane: Tak
  • () user_id The user ID.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the value of the requested user metadata.

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




Źródło

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