Used By
Used By | Description |
---|---|
wp-includes/comment.php: wp_allow_comment() | Validates whether this comment is allowed to be made. |
Filters a comment’s approval status before it is set.
File: wp-includes/comment.php
Version | Description |
---|---|
4.9.0 | Returning a WP_Error value from the filter will short-circuit comment insertion and allow skipping further processing. |
2.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_comment_approved