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: Embeds the links from the data into the request.
Source: wp-includes/rest-api/class-wp-rest-server.php:707
Filter Hook: Filters REST API authentication errors.
Source: wp-includes/rest-api/class-wp-rest-server.php:197
Method: Checks if a given request has access to read comments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:125
Method: Retrieves the comment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1380
Method: Wraps the response in an envelope.
Source: wp-includes/rest-api/class-wp-rest-server.php:784
Filter Hook: Filters whether to send nocache headers on a REST API request.
Source: wp-includes/rest-api/class-wp-rest-server.php:496
Method: Retrieves a list of comment items.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:194
Method: Retrieves the query params for collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1547
Method: Registers a route to the server.
Source: wp-includes/rest-api/class-wp-rest-server.php:822