Snippets: Use an SVG for your site logo

// Insert your svg as a custom logo icon
add_filter( 'wpex_header_logo_icon_html', function() {
    return 'YOUR SVG';
} );

// Optional: Remove the logo text next to your added SVG
add_filter( 'wpex_logo_title', '__return_empty_string' );

Snippet Type: PHP

Posted Under: Logo

All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)