the_author_meta

SummerySummery

Outputs the field from the user’s DB object. Defaults to current post’s author.

Syntax

the_author_meta( string $field = '', int|false $user_id = false )

ParametersParameters

$field

(string) (Optional) Selects the field of the users record. See get_the_author_meta() for the list of possible fields.

Default value: ''

$user_id

(int|false) (Optional) User ID.

Default value: false

SourceSource

File: wp-includes/author-template.php


			

ChangelogChangelog

Changelog
Version Description
2.8.0 Introduced.

See alsoSee also

Scroll to Top