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:160
Method: Returns the fallback template for the given slug.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:160
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:215
Method: Prepare a single template output for response
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:636
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:760
Method: Get the link relations available for the post and current user.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:783
Method: Retrieves the query params for the posts collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:807
Method: Retrieves the block type’ schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:833
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:410
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:462
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:474
Method: Checks if the user has permissions to make the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:181
Method: Prepares a single template for create or update.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:537
Method: Checks if a given request has access to read templates.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:242
Method: Returns a list of templates.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:254
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:283
Method: Returns the given template
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:295
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:317
Method: Updates a single template.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:329
Method: Checks if a given request has access to create a template.
Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:398