WP_REST_Comments_Controller::create_item()
Method: Creates a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:567
Method: Creates a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:567
Method: Retrieves the comment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1380
Filter Hook: Filters a comment before it is inserted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:696
Method: Retrieves the query params for collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1547
Action Hook: Fires after a comment is created or updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:727
Filter Hook: Filters REST API collection parameters for the comments controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1694
Method: Checks if a given REST request has access to update a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:777
Method: Sets the comment_status of a given comment object when creating or updating a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1706
Method: Updates a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:802
Method: Checks if the post can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1754