the_author_login()
Устарела с версии 2.8.0. Больше не поддерживается и может быть удалена. Используйте the_author_meta().
Display the login name of the author of the current post.
Хуков нет.
Возвращает
null. Ничего (null).
Использование
the_author_login();
Заметки
- Смотрите: the_author_meta()
Список изменений
| С версии 0.71 | Введена. |
| Устарела с 2.8.0 | Use the_author_meta() |
Код the_author_login() the author login WP 6.8.3
function the_author_login() {
_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta(\'login\')' );
the_author_meta('login');
}