Astra_Theme_Update::v_1_1_0_beta_3()
Update options of older version than 1.1.0-beta.3.
Description
Source
File: inc/theme-update/class-astra-theme-update.php
public static function v_1_1_0_beta_3() { $astra_options = get_option( ASTRA_THEME_SETTINGS, array() ); if ( isset( $astra_options['shop-grid'] ) ) { $astra_options['shop-grids'] = array( 'desktop' => $astra_options['shop-grid'], 'tablet' => 2, 'mobile' => 1, ); unset( $astra_options['shop-grid'] ); } update_option( ASTRA_THEME_SETTINGS, $astra_options ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.1.0-beta.3 | Introduced. |