PluginProbe
Gutenberg / 12.1.0
Gutenberg v12.1.0
23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 7.4.0 All 402 releases
gutenberg / lib / template-canvas.php

template-canvas.php in Gutenberg 12.1.0, at lib/template-canvas.php

28 lines 597 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template canvas file to render the current 'wp_template'.
4 *
5 * @package gutenberg
6 */
7
8 /**
9 * Get the template HTML.
10 * This needs to run before <head> so that blocks can add scripts and styles in wp_head().
11 */
12 $template_html = gutenberg_get_the_template_html();
13 ?><!DOCTYPE html>
14 <html <?php language_attributes(); ?>>
15 <head>
16 <meta charset="<?php bloginfo( 'charset' ); ?>" />
17 <?php wp_head(); ?>
18 </head>
19
20 <body <?php body_class(); ?>>
21 <?php wp_body_open(); ?>
22
23 <?php echo $template_html; // phpcs:ignore WordPress.Security.EscapeOutput ?>
24
25 <?php wp_footer(); ?>
26 </body>
27 </html>
28