Snippets: Custom Metaviewport Tag

add_filter( 'wpex_meta_viewport', function() {
    return '<meta name="viewport" content="initial-scale=1, viewport-fit=cover">';
} );

Snippet Type: PHP

Posted Under: Core

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