comment_flood_filter

comment_flood_filter

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('comment_flood_filter') is found 1 times:

  • /wp-includes/comment.php line 856
    		 * @param bool $bool             Whether a comment flood is occurring. Default false.
    		 * @param int  $time_lastcomment Timestamp of when the last comment was posted.
    		 * @param int  $time_newcomment  Timestamp of when the new comment was posted.
    		 */
    		$flood_die = apply_filters( 'comment_flood_filter', false, $time_lastcomment, $time_newcomment );
    
    		if ( $flood_die ) {
    			/**
    			 * Fires before the comment flood message is triggered.
    			 *
    			 * @since 1.5.0