pre_comment_content

pre_comment_content

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('pre_comment_content') is found 1 times:

  • /wp-includes/comment.php line 2143
    	 * @since 1.5.0
    	 *
    	 * @param string $comment_content The comment content.
    	 */
    	$commentdata['comment_content'] = apply_filters( 'pre_comment_content', $commentdata['comment_content'] );
    	/**
    	 * Filters the comment author's IP address before it is set.
    	 *
    	 * @since 1.5.0
    	 *
    	 * @param string $comment_author_ip The comment author's IP address.
    

See this hook used in plugins: