get_the_author_{$field}

Advertisement

Summery Summery

Filters the value of the requested user metadata.

Syntax Syntax

apply_filters( "get_the_author_{$field}", string $value, int $user_id, int|false $original_user_id )

Description Description

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

Parameters Parameters

$value

(string) The value of the metadata.

$user_id

(int) The user ID for the value.

$original_user_id

(int|false) The original user ID, as passed to the function.

Source Source

File: wp-includes/author-template.php

Advertisement

Changelog Changelog

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

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.