File: wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php
-
Determines whether a sanitized value is, or contains, a WP_Error.
Used by 2 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php:316 -
Ensures a WP_Error object carries an HTTP status, adding a default when none is set.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php:197 -
Sanitizes the run input by coercing it to the ability’s input schema.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php:241 -
Coerces raw request input to the types declared in the ability input schema.
Used by 1 function | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php:268 -
Core controller used to execute abilities via the REST API.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php:19 -
Registers the routes for ability execution.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php:44 -
Executes an ability.
Used by 0 functions | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php:82 -
Validates if the HTTP method matches the expected method for the ability based on its annotations.
Used by 1 function | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php:110 -
Checks if a given request has permission to execute a specific ability.
Used by 0 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php:143 -
Extracts input parameters from the request.
Used by 2 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php:214 -
Retrieves the arguments for ability execution endpoint.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php:339 -
Retrieves the schema for ability execution endpoint.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-run-controller.php:357