apply_filters( "the_author_{$field}", string $author_meta, int|false $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.


Top ↑

Parameters

$author_meta string
The value of the metadata.
$user_id int|false
The user ID.

Top ↑

Source

File: wp-includes/author-template.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes

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