wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_author_name › WordPress Function

Depuis1.0.0
Dépréciée2.8.0
get_author_name ( $auth_id = false )
Paramètres:
  • (int) $auth_id The ID of the author.
    Requis: Non
    Défaut: false
Voir:
Retourne:
  • (string) The author's display name.
Défini(e) dans:
Codex:

Retrieve the specified author's preferred display name.



Source

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);
}