wordpress/wp-content/themes/basic/themify/themify-utils.php
/**
	 * Returns available navigation menus.
	 *
	 * @since 1.9.5
	 *
	 * @return array
	 */
Returns available navigation menus.

@return array
Returns available navigation menus . @return array
function themify_get_available_menus() {
		$out = array( array( 'name' => '', 'value' => '', 'selected' => true ) );
		$menus = get_terms( 'nav_menu', array(
			'hide_empty' => false,
		) );
		if ( ! empty( $menus ) && ! is_wp_error( $menus ) ) {
			foreach ( $menus as $menu ) {
				$out[] = array( 'name' => $menu->name, 'value' => $menu->slug );
			}
		}
		return apply_filters( 'themify_get_available_menus', $out );
	}
function themify_get_available_menus ( ) { $ out = array ( array ( 'name' => '' , 'value' => '' , 'selected' => true ) ) ; $ menus = get_terms ( 'nav_menu' , array ( 'hide_empty' => false , ) ) ; if ( ! empty ( $ menus ) && ! is_wp_error ( $ menus ) ) { foreach ( $ menus as $ menu ) { $ out [ ] = array ( 'name' => $ menu -> name , 'value' => $ menu -> slug ) ; } } return apply_filters ( 'themify_get_available_menus' , $ out ) ; }
Returns available navigation menus.
Returns available navigation menus .