public static function is_menu_icons_disabled_for_menu( $menu_id = 0 ) {
		if ( empty( $menu_id ) ) {
			$menu_id = self::get_current_menu_id();
		}

		// When we're creating a new menu or the recently edited menu
		// could not be found.
		if ( empty( $menu_id ) ) {
			return true;
		}

		$menu_settings = self::get_menu_settings( $menu_id );
		$is_disabled   = ! empty( $menu_settings['disabled'] );

		return $is_disabled;
	}
public static function is_menu_icons_disabled_for_menu( $menu_id = 0 ) {
		if ( empty( $menu_id ) ) {
			$menu_id = self::get_current_menu_id();
		}

		// When we're creating a new menu or the recently edited menu
		// could not be found.
		if ( empty( $menu_id ) ) {
			return true;
		}

		$menu_settings = self::get_menu_settings( $menu_id );
		$is_disabled   = ! empty( $menu_settings['disabled'] );

		return $is_disabled;
	}
public static function is_menu_icons_disabled_for_menu ( $ menu_id = 0 ) { if ( empty ( $ menu_id ) ) { $ menu_id = self :: get_current_menu_id ( ) ; } // When we're creating a new menu or the recently edited menu // could not be found. if ( empty ( $ menu_id ) ) { return true ; } $ menu_settings = self :: get_menu_settings ( $ menu_id ) ; $ is_disabled = ! empty ( $ menu_settings [ 'disabled' ] ) ; return $ is_disabled ; }
Check if menu icons is disabled for a menu

@since 0.8.0

@param int $menu_id Menu ID. Defaults to current menu being edited.

@return bool
Check if menu icons is disabled for a menu