the_author_{$field}

SummerySummery

The value of the requested user metadata.

Syntax

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

DescriptionDescription

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

ParametersParameters

$author_meta

(string) The value of the metadata.

$user_id

(int|false) The user ID.

SourceSource

File: wp-includes/author-template.php

ChangelogChangelog

Changelog
Version Description
2.8.0 Introduced.
Scroll to Top