get_the_author_firstname() WP 1.5.0
Устарела с версии 2.8.0. Больше не поддерживается и может быть удалена. Используйте get_the_author_meta().╳
Retrieve the first name of the author of the current post.
Хуков нет.
Возвращает
Строку
. The author's first name.
Использование
get_the_author_firstname();
Заметки
- Смотрите: get_the_author_meta()
Список изменений
С версии 1.5.0 | Введена. |
Устарела с 2.8.0 | Use get_the_author_meta() |
Код get_the_author_firstname() get the author firstname WP 5.7
function get_the_author_firstname() {
_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'first_name\')' );
return get_the_author_meta('first_name');
}