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