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 8 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:816 -
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:768 -
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:215 -
Prepare a single template output for response
Used by 6 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:637 -
Prepares links for the request.
Used by 1 function | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:846 -
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:890 -
Retrieves the query params for the posts collection.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:914 -
Retrieves the block type’ schema, conforming to JSON Schema.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:940 -
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 14 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:410 -
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:462 -
Registers the controllers routes.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:47 -
Deletes a single template.
Used by 0 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:474 -
Checks if the user has permissions to make the request.
Used by 5 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:181 -
Prepares a single template for create or update.
Used by 2 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:537 -
Checks if a given request has access to read templates.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:242 -
Returns a list of templates.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:254 -
Checks if a given request has access to read a single template.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:283 -
Returns the given template
Used by 0 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:295 -
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:317 -
Updates a single template.
Used by 0 functions | Uses 14 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:329 -
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:398