WP_REST_Templates_Controller::_sanitize_template_id()

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

Used by 0 functions | Uses 0 functions