if ( isset( $_GET['_wp-find-template'
] ) ) { wp_send_json_success( $block_template );
} } else { if ( $template ) { return $template;
} if ( 'index' ===
$type ) { if ( isset( $_GET['_wp-find-template'
] ) ) { wp_send_json_error( array
( 'message' =>
__( 'No matching template found.'
) ) );
} } else { return ''; // So that the template loader keeps looking for templates.
} } // Add hooks for template canvas.
// Add viewport meta tag.
add_action( 'wp_head', '_block_template_viewport_meta_tag', 0
);
// Render title tag with content, regardless of whether theme has title-tag support.