the_author_meta

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

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

Parameters

  • 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);

}

2971

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:

WordPress.com Logo

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

Facebook photo

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

Connecting to %s

%d bloggers like this: