Warning: This function has been deprecated. Use the_author_meta() instead.
the_author_lastname() WordPress Function
The the_author_lastname() function is used to display the last name of the author of the current post. This can be useful for displaying the author's name in a post or on an author archive page.
the_author_lastname() #
Display the last name of the author of the current post.
Description
See also
Source
File: wp-includes/deprecated.php
function the_author_lastname() { _deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta(\'last_name\')' ); the_author_meta('last_name'); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.8.0 | Use the_author_meta() |
0.71 | Introduced. |