W3cubDocs

/WordPress

apply_filters( "the_author_{$field}", string $author_meta, int|false $user_id )

The value of the requested user metadata.

Description

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

Parameters

$author_meta

(string) The value of the metadata.

$user_id

(int|false) The user ID.

Source

File: wp-includes/author-template.php

View on Trac

Changelog

Version Description
2.8.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_author_field