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

In this article

Filters the value of the requested user metadata.

Description

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

Parameters

$author_metastring
The value of the metadata.
$user_idint|false
The user ID.

Source

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

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.