ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • Methods
  • Page 257

WP_REST_Comments_Controller::get_items_permissions_check()

Method: Checks if a given request has access to read comments.

Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:125

Used by 0 functions | Uses 2 functions

WP_REST_Comments_Controller::handle_status_param()

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:1723

Used by 2 functions | Uses 0 functions

WP_REST_Comments_Controller::normalize_query_param()

Method: Prepends internal property prefix to query parameters to match our response fields.

Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1236

Used by 1 function | Uses 0 functions

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:1299

Used by 2 functions | Uses 3 functions

WP_REST_Comments_Controller::prepare_item_for_response()

Method: Prepares a single comment output for response.

Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1056

Used by 5 functions | Uses 4 functions

WP_REST_Comments_Controller::prepare_links()

Method: Prepares links for the request.

Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1167

Used by 1 function | Uses 0 functions

WP_REST_Comments_Controller::prepare_status_response()

Method: Checks comment_approved to set comment status for single comment output.

Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1268

Used by 1 function | Uses 0 functions

WP_REST_Comments_Controller::register_routes()

Method: Registers the routes for comments.

Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:46

Used by 0 functions | Uses 1 function

WP_REST_Comments_Controller::update_item()

Method: Updates a comment.

Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:819

Used by 0 functions | Uses 8 functions

WP_REST_Comments_Controller::update_item_permissions_check()

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:778

Used by 0 functions | Uses 3 functions
« Previous 1 … 256 257 258 … 388 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy