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



comment_author ›

Desde4.1.0
Obsoleton/a
apply_filters( 'comment_author', $author, $comment->comment_ID )
Parâmetros: (2)
  • (string) $author The comment author's username.
    Required: Yes
  • (int) $comment_ID The comment ID.
    Required: Yes
Definido em:
Codex:

Filters the comment author's name for display.





Fonte

echo apply_filters( 'comment_author', $author, $comment->comment_ID );