Snippets: Move Search Icon to Front/Start of Menu

/**
 * Alter the header menu search icon position.
 *
 * @link https://wpexplorer-themes.com/total/snippets/header-menu-search-position/
 * @param $position string | Accepts start or end.
 */
add_filter( 'wpex_header_menu_search_position', function( $position ) {
	$position = 'start';
	return $position;
} );

Snippet Type: PHP

Posted Under: Menu

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