The Viewport meta tag is enabled by default. You can use the code below to filter it on your site, if desired. The default values are shown:
Unless otherwise indicated, the code snippet should be placed into your theme’s functions.php file.
The Viewport meta tag is enabled by default. You can use the code below to filter it on your site, if desired. The default values are shown:
© 2025 WPEngine, Inc.
WP Engine is a proud member and supporter of the community of WordPress® users. The WordPress® trademarks are the intellectual property of the WordPress Foundation, and the Woo® and WooCommerce® trademarks are the intellectual property of WooCommerce, Inc. Uses of the WordPress®, Woo®, and WooCommerce® names in this website are for identification purposes only and do not imply an endorsement by WordPress Foundation or WooCommerce, Inc. WP Engine is not endorsed or owned by, or affiliated with, the WordPress Foundation or WooCommerce, Inc.