function the_author_meta($field = '', $user_id = false) {}

Retrieve the requested data of the author of the current post.


  • string $field: selects the field of the users record.
  • int $user_id: Optional. User ID.

Defined filters

  • the_author_$field
    apply_filters('the_author_' . $field, get_the_author_meta($field, $user_id)

Source code

function the_author_meta($field = '', $user_id = false) {

	echo apply_filters('the_author_' . $field, get_the_author_meta($field, $user_id), $user_id);



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: