wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_author_name › WordPress Function

Da1.0.0
Deprecato2.8.0
get_author_name ( $auth_id = false )
Parametri:
  • (int) $auth_id The ID of the author.
    Richiesto: No
    Default: false
Vedi:
Ritorna:
  • (string) The author's display name.
Definito a:
Codex:

Retrieve the specified author's preferred display name.



Sorgenti

function get_author_name( $auth_id = false ) {
	_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'display_name\')' );
	return get_the_author_meta('display_name', $auth_id);
}