Snippets: Custom Metaviewport Tag

add_filter( 'wpex_meta_viewport', function() {
    return '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />';
} );

Snippet Type: PHP

Posted Under: Core

All PHP snippets should be added via a child theme's functions.php file.