astra_addon_background_updater_4_8_4()

Background updater function for addon v4.8.4


Description


Return

(void)


Source

File: classes/astra-addon-update-functions.php

function astra_addon_background_updater_4_8_4() {
	$theme_options = get_option( 'astra-settings', array() );
	if ( isset( $theme_options['blog-grid'] ) ) {
		// Get responsive blog grid columns values.
		$theme_options['blog-grid-resp'] = astra_addon_get_blog_grid_columns();
		// Update the responsive blog grid column desktop value from old blog grid option.
		$theme_options['blog-grid-resp']['desktop'] = $theme_options['blog-grid'];
		update_option( 'astra-settings', $theme_options );
	}
}

Changelog

Changelog
Version Description
4.8.4 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.