apply_filters( 'pre_comment_author_email', string $author_email_cookie )

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_cookie

(string) The comment author email cookie.

Source

File: wp-includes/comment.php

View on Trac

Changelog

Version Description
1.5.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_comment_author_email