ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • Methods
  • Page 257

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

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

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

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

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

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

Used by 0 functions | Uses 2 functions

WP_REST_Controller::add_additional_fields_schema()

Method: Adds the schema from additional fields to a schema array.

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

Used by 0 functions | Uses 0 functions

WP_REST_Controller::add_additional_fields_to_object()

Method: Adds the values from additional fields to a data object.

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

Used by 0 functions | Uses 0 functions

WP_REST_Controller::create_item()

Method: Creates one item from the collection.

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

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