File: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php
-
Returns a human readable text for the author of the template.
Used by 1 function | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:868 -
Returns the source from where the template originally comes from.
Used by 2 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:816 -
Returns the fallback template for the given slug.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:160 -
Requesting this endpoint for a template like ‘twentytwentytwo//home’ requires using a path like /wp/v2/templates/twentytwentytwo//home. There are special cases when WordPress routing corrects the name to contain only a single slash like ‘twentytwentytwo/home’.
Used by 0 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:216 -
Prepare a single template output for response
Used by 6 functions | Uses 13 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:670 -
Prepares links for the request.
Used by 1 function | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:933 -
Get the link relations available for the post and current user.
Used by 1 function | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:977 -
Retrieves the query params for the posts collection.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:1001 -
Retrieves the block type’ schema, conforming to JSON Schema.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:1027 -
Base Templates REST API Controller.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:17 -
Creates a single template.
Used by 0 functions | Uses 13 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:443 -
Constructor.
Used by 2 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:34 -
Checks if a given request has access to delete a single template.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:495 -
Registers the controllers routes.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:47 -
Deletes a single template.
Used by 0 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:507 -
Checks if the user has permissions to make the request.
Used by 3 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:182 -
Prepares a single template for create or update.
Used by 2 functions | Uses 8 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:570 -
Checks if a given request has access to read templates.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:244 -
Returns a list of templates.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:271 -
Checks if a given request has access to read a single template.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:301 -
Returns the given template
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:328 -
Checks if a given request has access to write a single template.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:350 -
Updates a single template.
Used by 0 functions | Uses 13 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:362 -
Checks if a given request has access to create a template.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:431