ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
  • Page 3

rest_prepare_comment

Filter Hook: Filters a comment returned from the REST API.

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

Used by 1 function | Uses 0 functions

WP_REST_Comments_Controller::get_comment()

Method: Get the comment, if the ID is valid.

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

Used by 6 functions | Uses 0 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::get_item_permissions_check()

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

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

Used by 0 functions | Uses 4 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:1219

Used by 1 function | Uses 0 functions

WP_REST_Comments_Controller::get_item()

Method: Retrieves a comment.

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

Used by 0 functions | Uses 2 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::create_item_permissions_check()

Method: Checks if a given request has access to create a comment.

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

Used by 0 functions | Uses 4 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:1282

Used by 2 functions | Uses 3 functions

rest_allow_anonymous_comments

Filter Hook: Filters whether comments can be created via the REST API without authentication.

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

Used by 1 function | Uses 0 functions
« Previous 1 2 3 4 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy