wpseek.com
A WordPress-centric search engine for devs and theme authors



pre_comment_author_email › WordPress Filter Hooks

Since1.5.0
Deprecatedn/a
apply_filters( 'pre_comment_author_email', $_COOKIE[ 'comment_author_email_' . COOKIEHASH ] )
Parameters:
  • (string) $author_email_cookie The comment author email cookie.
    Required: Yes
Defined at:
Codex:

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

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





Source

$comment_author_email = apply_filters( 'pre_comment_author_email', $_COOKIE[ 'comment_author_email_' . COOKIEHASH ] );