Filters the value of the requested user metadata.
The filter name is dynamic and depends on the $field parameter of the function.
$author_metastring
$user_idint|false
echo apply_filters( "the_author_{$field}", $author_meta, $user_id );
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_author_field