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



get_author_link › WordPress Function

Da1.2.0
Deprecato2.1.0
get_author_link ( $display, $author_id, $author_nicename = '' )
Parametri: (3)
  • (bool) $display
    Richiesto:
  • (int) $author_id
    Richiesto:
  • (string) $author_nicename Optional.
    Richiesto: No
    Default: (vuoto)
Vedi:
Ritorna:
  • (string|null)
Definito a:
Codex:

Returns or Prints link to the author's posts.



Sorgenti

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