wordpress/wp-content/themes/basic/themify/class-themify-menu-toggle-dropdown.php
/**
	 * Add a css class to toggle dropdown menu items
	 */
Add a css class to toggle dropdown menu items
Add a css class to toggle dropdown menu items
function nav_menu_css_class( $classes, $item ) {
		if (in_array('menu-item-has-children', $item->classes,true) && !empty(get_post_meta( $item->ID, '_themify_toggle_dropdown', true ))) {
			$classes[] = 'themify_toggle_dropdown';
		}
		return $classes;
	}
function nav_menu_css_class ( $ classes , $ item ) { if ( in_array ( 'menu-item-has-children' , $ item -> classes , true ) && ! empty ( get_post_meta ( $ item -> ID , '_themify_toggle_dropdown' , true ) ) ) { $ classes [ ] = 'themify_toggle_dropdown' ; } return $ classes ; }
Add a css class to toggle dropdown menu items
Add a css class to toggle dropdown menu items