apply_filters( "get_the_author_{$field}", string $value, int $user_id, int|bool $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

$value

The value of the metadata.

$user_id

The user ID for the value.

$original_user_id

The original user ID, as passed to the function.


Source

File: wp-includes/author-template.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.3.0 The $original_user_id parameter was added.
WP-2.8.0 Introduced.