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



pre_comment_author_name ›

Desde1.5.0
Obsoleton/a
apply_filters( 'pre_comment_author_name', $_COOKIE[ 'comment_author_' . COOKIEHASH ] )
Parâmetros:
  • (string) $author_cookie The comment author name cookie.
    Required: Yes
Definido em:
Codex:

Filters the comment author's name cookie before it is set.

When this filter hook is evaluated in wp_filter_comment(), the comment author's name string is passed.





Fonte

$comment_author                            = apply_filters( 'pre_comment_author_name', $_COOKIE[ 'comment_author_' . COOKIEHASH ] );