wpseek.com
A WordPress-centric search engine for devs and theme authors



_block_template_viewport_meta_tag › WordPress Function

Since5.8.0
Deprecatedn/a
_block_template_viewport_meta_tag ( No parameters )
Access:
  • private
Defined at:
Codex:

Renders a 'viewport' meta tag.

This is hooked into {@see 'wp_head'} to decouple its output from the default template canvas.


Source

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