WP_REST_Templates_Controller::get_template_fallback()
Method: Returns the fallback template for the given slug.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:157
Method: Returns the fallback template for the given slug.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:157
Method: 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’.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:204
Method: Prepare a single template output for response
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:622
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:742
Method: Get the link relations available for the post and current user.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:765
Method: Retrieves the query params for the posts collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:789
Method: Retrieves the block type’ schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:815
Class: Base Templates REST API Controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:17
Method: Creates a single template.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:399
Method: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:34
Method: Checks if a given request has access to delete a single template.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:451
Method: Registers the controllers routes.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:47
Method: Deletes a single template.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:463
Method: Checks if the user has permissions to make the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:172
Method: Prepares a single template for create or update.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:524
Method: Checks if a given request has access to read templates.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:231
Method: Returns a list of templates.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:243
Method: Checks if a given request has access to read a single template.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:272
Method: Returns the given template
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:284
Method: Checks if a given request has access to write a single template.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:306
Method: Updates a single template.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:318
Method: Checks if a given request has access to create a template.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:387