@package: REST_API
-
Checks if a given request has access to read the comment.
Used by 0 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:434 -
Core controller used to access comments via the REST API.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:17 -
Constructor.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:32 -
Registers the routes for comments.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:46 -
Checks if a given request has access to read comments.
Used by 0 functions | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:125 -
Retrieves a list of comment items.
Used by 0 functions | Uses 11 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:236 -
Filters the response immediately after executing any REST API callbacks.
-
Filters the response before executing any REST API callbacks.
-
functionrest_get_server()
Retrieves the current REST server instance.
-
Filters the REST API request generated from a URL.
-
Retrieves a WP_REST_Request object from a full URL.
Used by 2 functions | Uses 6 functions | Source: wp-includes/rest-api/class-wp-rest-request.php:1044 -
Filters extra CURIEs available on REST API responses.
-
Retrieves the CURIEs (compact URIs) used for relations.
-
Retrieves the CURIEs (compact URIs) used for relations.
-
functionrest_get_date_with_gmt()
Parses a date into both its local and UTC equivalent, in MySQL datetime format.
-
functionrest_output_link_wp_head()
Outputs the REST API link tag into page header.
-
functionrest_output_link_header()
Sends a Link header for the REST API.
-
functionrest_cookie_check_errors()
Checks for errors when using cookie-based authentication.
-
functionrest_cookie_collect_status()
Collects cookie authentication status.
-
functionrest_parse_date()
Parses an RFC3339 time into a Unix timestamp.
-
functionrest_send_cors_headers()
Sends Cross-Origin Resource Sharing headers with API requests.
-
functionrest_handle_options_request()
Handles OPTIONS requests for the server.
-
functionrest_send_allow_header()
Sends the “Allow” header to state all methods that can be sent to the current route.
-
functionrest_output_rsd()
Adds the REST API URL to the WP RSD endpoint.
-
hookrest_url
Filters the REST URL.
-
functionrest_url()
Retrieves the URL to a REST endpoint.
-
functionrest_do_request()
Do a REST request.
-
functionrest_ensure_request()
Ensures request arguments are a request object (for consistency).
-
functionrest_ensure_response()
Ensures a REST response is a response object (for consistency).
-
Handles _deprecated_function() errors.