Snippets: Use Header Style Two, Three or Four for Header Overlay

add_filter( 'wpex_header_style', function( $style ) {
	if ( wpex_has_overlay_header() ) {
		$style = 'three';
	}
	return $style;
} );

Snippet Type: PHP

Posted Under: Header

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