comment_flood_trigger

comment_flood_trigger

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('comment_flood_trigger') is found 1 times:

  • /wp-includes/comment.php line 867
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    *
     * @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.