Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



pre_comment_author_name ›

Seit1.5.0
Veraltetn/v
apply_filters( 'pre_comment_author_name', $_COOKIE[ 'comment_author_' . COOKIEHASH ] )
Parameter:
  • (string) $author_cookie The comment author name cookie.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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