WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about pre_comment_author_name

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/comment.php apply_filters 594 /**
* 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.
*
* @since 1.5.0
*
* @param string $author_cookie The comment author name cookie.
*/
wp-includes/comment.php apply_filters 2114 /**
* Filters the comment author's browser user agent before it is set.
*
* @since 1.5.0
*
* @param string $comment_agent The comment author's browser user agent.
*/

Hook Parameters

Parameter Type Name Description
string $author_cookie The comment author name cookie.
string $author_cookie The comment author name cookie.