New and updated in 4.7.0
-
Prepends internal property prefix to query parameters to match our response fields.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1334 -
Checks comment_approved to set comment status for single comment output.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1366 -
Prepares a single comment to be inserted into the database.
Used by 2 functions | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1397 -
Filters whether a comment can be trashed via the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1060 -
Fires after a comment is deleted via the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1115 -
Prepares a single comment output for response.
Used by 5 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1130 -
Filters a comment returned from the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1237 -
Prepares links for the request.
Used by 1 function | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1248 -
Fires after a comment is created or updated via the REST API.
Used by 2 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:819 -
Checks if a given REST request has access to update a comment.
Used by 0 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:869 -
Updates a comment.
Used by 0 functions | Uses 17 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:894 -
Checks if a given request has access to delete a comment.
Used by 0 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1018 -
Deletes a comment.
Used by 0 functions | Uses 10 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1042 -
Filters a comment before it is inserted via the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:788 -
Filters WP_Comment_Query arguments when querying comments via the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:325 -
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 -
Retrieves a comment.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:479 -
Checks if a given request has access to create a comment.
Used by 0 functions | Uses 12 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:499 -
Filters whether comments can be created via the REST API without authentication.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:531 -
Creates a comment.
Used by 0 functions | Uses 23 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:650 -
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 -
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 -
Filters the response immediately after executing any REST API callbacks.
-
Filters the response before executing any REST API callbacks.
-
Filters the locale of the WordPress installation.
-
Load translations for a given locale.
-
Changes the site’s locale to the given one.