Snippets: Add or Remove Classes From The Header

/**
 * Add/Remove classes from the main header wrap
 *
 * @link http://wpexplorer-themes.com/total/snippets/header-classes/
 *
 */
function myprefix_header_classes( $classes ) {

	// Add visibility class
	$classes[] = 'visible-desktop';

	// Return classes
	return $classes;

}
add_filter( 'wpex_header_classes', 'myprefix_header_classes' );

Snippet Type: PHP

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