wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_author_link › WordPress Function

Desde1.2.0
Obsoleto2.1.0
get_author_link ( $display, $author_id, $author_nicename = '' )
Parâmetros: (3)
  • (bool) $display
    Required: Yes
  • (int) $author_id
    Required: Yes
  • (string) $author_nicename Optional.
    Required: No
    Padrão: (empty)
Ver:
Retorna:
  • (string|null)
Definido em:
Codex:

Returns or Prints link to the author's posts.



Fonte

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