wpseek.com
A WordPress-centric search engine for devs and theme authors



get_the_author_lastname › WordPress Function

Since1.5.0
Deprecated2.8.0
get_the_author_lastname ( No parameters )
See:
Returns:
  • (string) The author's last name.
Defined at:
Codex:

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



Source

function get_the_author_lastname() {
	_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'last_name\')' );
	return get_the_author_meta('last_name');
}