_block_template_viewport_meta_tag() – Renders a ‘viewport’ meta tag.

You appear to be a bot. Output may be restricted

Description

Renders a 'viewport' meta tag.

This is hooked into wp_headwp_head to decouple its output from the default template canvas.

Usage

_block_template_viewport_meta_tag();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/block-template.php
Lines:

1 to 3 of 3
function _block_template_viewport_meta_tag() {
  echo '<meta name="viewport" content="width=device-width, initial-scale=1" />' . "\n";
}
 

 View on GitHub View on Trac