Yoast\WP\SEO\Helpers

User_Helper::get_the_author_metapublicYoast 1.0

Retrieves the requested data of the author.

Метод класса: User_Helper{}

Хуков нет.

Возвращает

Строку. The author's field from the current author's DB object.

Использование

$User_Helper = new User_Helper();
$User_Helper->get_the_author_meta( $field, $user_id );
$field(строка) (обязательный)
The user field to retrieve.
$user_id(int|false) (обязательный)
User ID.

Код User_Helper::get_the_author_meta() Yoast 25.3.1

public function get_the_author_meta( $field, $user_id ) {
	return \get_the_author_meta( $field, $user_id );
}