ClassicPress logo
Skip to content
Filter by type:

Browse:

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

WP_REST_Comments_Controller::check_is_comment_content_allowed()

Method: If empty comments are not allowed, checks if the provided comment content is not empty.

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

Used by 1 function | Uses 1 function

rest_after_insert_comment

Action Hook: Fires completely after a comment is created or updated via the REST API.

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

Used by 2 functions | Uses 0 functions

WP_REST_Comments_Controller::get_items()

Method: Retrieves a list of comment items.

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

Used by 0 functions | Uses 6 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

rest_comment_query

Filter Hook: Filters WP_Comment_Query arguments when querying comments via the REST API.

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

Used by 1 function | Uses 0 functions

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
1 2 … 4 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy