Warning: This function has been deprecated. Use get_the_author_meta() instead.
get_the_author_lastname()
Retrieve the last name of the author of the current post.
Description Description
See also See also
Return Return
(string) The author's last name.
Source Source
File: wp-includes/deprecated.php
function get_the_author_lastname() {
_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'last_name\')' );
return get_the_author_meta('last_name');
}
Expand full source code Collapse full source code View on Trac
Changelog Changelog
| Version | Description |
|---|---|
| 2.8.0 | Use get_the_author_meta() |
| 1.5.0 | Introduced. |