apply_filters( ‘pre_comment_author_email’, string $author_email_cookie )

In this article

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

Description

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

Parameters

$author_email_cookiestring
The comment author email cookie.

Source

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

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.