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
Method: Prepares a single comment output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1039
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1150
Method: Checks comment_approved to set comment status for single comment output.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1251
Method: Registers the routes for comments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:46
Method: Updates a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:802
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: Adds the schema from additional fields to a schema array.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:495
Method: Adds the values from additional fields to a data object.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:419
Method: Creates one item from the collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:151