wpseek.com
A WordPress-centric search engine for devs and theme authors
check_comment › WordPress Function
Since1.2.0
Deprecatedn/a
› check_comment ( $author, $email, $url, $comment, $user_ip, $user_agent, $comment_type )
| Parameters: (7) |
|
| Returns: |
|
| Defined at: |
|
| Codex: |
Checks whether a comment passes internal checks to be allowed to add.
If manual comment moderation is set in the administration, then all checks, regardless of their type and substance, will fail and the function will return false. If the number of links exceeds the amount in the administration, then the check fails. If any of the parameter contents contain any disallowed words, then the check fails. If the comment author was approved before, then the comment is automatically approved. If all checks pass, the function will return true.