WPF2B_EVENT_COMMENT
Comment stored.
Premium listener: WPF2B_EVENT_COMMENT.
Premium emits this event when WordPress stores an ordinary comment while WP_FAIL2BAN_LOG_COMMENTS is enabled. It applies whether the comment is approved, held for moderation, or marked as spam. Later approval changes do not emit this event again.
Pingbacks and trackbacks do not use this event. A stored comment classified as spam can separately emit WPF2B_EVENT_COMMENT_SPAM when spam logging is enabled.
syslog |
Facility |
||
Level |
INFO |
||
Example |
|
||
fail2ban |
Filter |
filters-wordpress-extra |
|
Rule |
|||
EventData |
ref_id |
|
Comment ID |
History
Changed in version 6.0.0: Added COMMENT_ID tag.
Added in version 4.0.0.