WP_REST_Templates_Controller
Base Templates REST API Controller.
Base Templates REST API Controller.
Constructor.
Requesting this endpoint for a template like ‘twentytwentytwo//home’ requires using a path like…
Creates a single template.
Checks if a given request has access to create a template.
Deletes a single template.
Checks if a given request has access to delete a single template.
Get the link relations available for the post and current user.
Retrieves the query params for the posts collection.
Returns the given template