wp_throttle_comment_flood

SummerySummery

Whether a comment should be blocked because of comment flood.

Syntax

wp_throttle_comment_flood( bool $block, int $time_lastcomment, int $time_newcomment )

ParametersParameters

$block

(bool) (Required) Whether plugin has already blocked comment.

$time_lastcomment

(int) (Required) Timestamp for last comment.

$time_newcomment

(int) (Required) Timestamp for new comment.

ReturnReturn

(bool) Whether comment should be blocked.

SourceSource

File: wp-includes/comment.php


			

ChangelogChangelog

Changelog
Version Description
2.1.0 Introduced.
Scroll to Top