Snippets: Tweaking The Main Menu SuperFish Dropdowns

/**
 * Alter the superfish menu settings
 *
 * @link http://wpexplorer-themes.com/total/snippets/sf-menu-options/
 */
add_filter( 'wpex_localize_array', function( $array ) {
	$array['superfishDelay']     = 600; // Change delay
	$array['superfishSpeed' ]    = 'fast'; // Change Speed IN
	$array['superfishSpeedOut' ] = 'fast'; // Change Speed Out
	return $array;
}, 10 );

Snippet Type: PHP

Posted Under: Menu

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