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