WP_REST_Comments_Controller::prepare_status_response()
Checks comment_approved to set comment status for single comment output.
Welcome to the WPPaste WordPress Method index. This page contains a an alphabetically sorted list of methods that are available for use in WordPress. Each method has a brief description of what it does and how it can be used. To find out more about a particular method, simply click on the method name.
Checks comment_approved to set comment status for single comment output.
Registers the routes for comments.
Updates a comment.
Checks if a given REST request has access to update a comment.
Adds the schema from additional fields to a schema array.
Adds the values from additional fields to a data object.
Creates one item from the collection.
Checks if a given request has access to create items.
Deletes one item from the collection.
Checks if a given request has access to delete a specific item.