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



get_author_link › WordPress Function

Depuis1.2.0
Dépréciée2.1.0
get_author_link ( $display, $author_id, $author_nicename = '' )
Paramètres: (3)
  • (bool) $display
    Requis: Oui
  • (int) $author_id
    Requis: Oui
  • (string) $author_nicename Optional.
    Requis: Non
    Défaut: (vide)
Voir:
Retourne:
  • (string|null)
Défini(e) dans:
Codex:

Returns or Prints link to the author's posts.



Source

function get_author_link($display, $author_id, $author_nicename = '') {
	_deprecated_function( __FUNCTION__, '2.1.0', 'get_author_posts_url()' );

	$link = get_author_posts_url($author_id, $author_nicename);

	if ( $display )
		echo $link;
	return $link;
}