Core Function
View Source on Trac ↗ the_author_meta()
the_author_meta( mixed $field = '', mixed $user_id = false ) Outputs the field from the user's DB object. Defaults to current post's author.
Parameters 2 required
| Name / Type | Description |
|---|---|
| string | $field Selects the field of the users record. See get_the_author_meta() for the list of possible fields. Required |
| (int | | false) $user_id Optional. User ID. Defaults to the current post author. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
2.8.0
Source File
wp-includes/author-template.php
Advertisement