On this page
apply_filters( "get_the_author_{$field}", string $value, int $user_id, int|false $original_user_id )
Filters the value of the requested user metadata.
Description
The filter name is dynamic and depends on the $field parameter of the function.
Parameters
$valuestring-
The value of the metadata.
$user_idint-
The user ID for the value.
$original_user_idint|false-
The original user ID, as passed to the function.
Source
File: wp-includes/author-template.php. View all references
return apply_filters( "get_the_author_{$field}", $value, $user_id, $original_user_id );
Related
Used By
| Used By | Description |
|---|---|
| get_the_author_meta() wp-includes/author-template.php | Retrieves the requested data of the author of the current post. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_the_author_field