comment_flood_trigger

comment_flood_trigger

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('comment_flood_trigger') is found 1 times:

  • /wp-includes/comment.php line 867
    			 *
    			 * @param int $time_lastcomment Timestamp of when the last comment was posted.
    			 * @param int $time_newcomment  Timestamp of when the new comment was posted.
    			 */
    			do_action( 'comment_flood_trigger', $time_lastcomment, $time_newcomment );
    
    			if ( $avoid_die ) {
    				return true;
    			} else {
    				/**
    				 * Filters the comment flood error message.