WordPress at Your Fingertips
filter is not described

get_the_author_(field) filter-hook . WP 2.8.0

Filters the value of the requested user metadata.

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


add_filter( 'get_the_author_(field)', 'filter_function_name_2326', 10, 3 );
function filter_function_name_2326( $value, $user_id, $original_user_id ){
	// filter...

	return $value;
The value of the metadata.
The user ID for the value.
The original user ID, as passed to the function.


Since 2.8.0 Introduced.
Since 4.3.0 The $original_user_id parameter was added.

Where the hook is called

wp-includes/author-template.php 189
return apply_filters( "get_the_author_{$field}", $value, $user_id, $original_user_id );

Where in WP core the hook is used WordPress

Usage not found.