Function Reference/wp allow comment
Description
Validates whether this comment is allowed to be made or not.
Usage
<?php wp_allow_comment( $commentdata ) ?>
Parameters
- $commentdata
- (array) (required) Contains information on the comment
- Default: None
Return Values
- (mixed)
- Signifies the approval status (0|1|'spam')
Examples
Notes
Change Log
Since: 2.0.0
Source File
wp_allow_comment() is located in wp-includes/comment.php.
Related