astra_update_theme_tablet_breakpoint()

Check if we need to change the default value for tablet breakpoint.


Description


Return

(void)


Source

File: inc/theme-update/astra-update-functions.php

function astra_update_theme_tablet_breakpoint() {

	$theme_options = get_option( 'astra-settings' );

	if ( ! isset( $theme_options['can-update-theme-tablet-breakpoint'] ) ) {
		// Set a flag to check if we need to change the theme tablet breakpoint value.
		$theme_options['can-update-theme-tablet-breakpoint'] = false;
	}

	update_option( 'astra-settings', $theme_options );
}

Changelog

Changelog
Version Description
2.4.0 Introduced.

User Contributed Notes

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