Summery Summery
Whether a comment should be blocked because of comment flood.
Syntax Syntax
Parameters Parameters
- $block
-
(Required) Whether plugin has already blocked comment.
- $time_lastcomment
-
(Required) Timestamp for last comment.
- $time_newcomment
-
(Required) Timestamp for new comment.
Return Return
(bool) Whether comment should be blocked.
Source Source
File: wp-includes/comment.php
wp_cache_delete( "lastcommentmodified:$timezone", 'timeinfo' ); } } clean_comment_cache( $id ); $comment = get_comment( $id ); // If metadata is provided, store it.
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |