WP_REST_Comments_Controller::prepare_item_for_database()
Method: Prepares a single comment to be inserted into the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1282
Method: Prepares a single comment to be inserted into the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1282
Filter Hook: Filters whether comments can be created via the REST API without authentication.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:465
Filter Hook: Filters a comment added via the REST API after it is prepared for insertion into the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1370
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