WordPress at a glance
function is not described

the_author_lastname() WP 0.71

Deprecated in 2.8.0. It is no longer supported and can be removed in future releases. Use the_author_meta() instead.

Display the last name of the author of the current post.

  • See: the_author_meta()

No Hooks.

Return

Nothing (null).

Usage

the_author_lastname();

Code of the author lastname: wp-includes/deprecated.php WP 5.2.1

<?php
function the_author_lastname() {
	_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta(\'last_name\')' );
	the_author_meta('last_name');
}