This function has been deprecated. Use get_the_author_meta() instead.


Warning: Array to string conversion in /var/www/public/docs.classicpress.net/public_html/wp-content/themes/cpnet-developer/inc/template-tags.php on line 789
get_the_author_nickname()

Retrieve the nickname of the author of the current post.


Description

See also


Warning: Array to string conversion in /var/www/public/docs.classicpress.net/public_html/wp-content/themes/cpnet-developer/inc/template-tags.php on line 789

Return

(string) The author's nickname.


Source

File: wp-includes/deprecated.php

function get_the_author_nickname() {
	_deprecated_function( __FUNCTION__, 'WP-2.8.0', 'get_the_author_meta(\'nickname\')' );
	return get_the_author_meta('nickname');
}

Changelog

Changelog
Version Description
2.8.0 Use get_the_author_meta()
1.5.0 Introduced. This function has been deprecated. Use get_the_author_meta() instead.