/** * Astra Updates * * Functions for updating data, used by the background updater. * * @package Astra * @version 2.1.3 */ defined( 'ABSPATH' ) || exit; /** * Open Submenu just below menu for existing users. * * @since 2.1.3 * @return void */ function astra_submenu_below_header() { $theme_options = get_option( 'astra-settings' ); // Set flag to use flex align center css to open submenu just below menu. if ( ! isset( $theme_options['submenu-open-below-header'] ) ) { $theme_options['submenu-open-below-header'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Do not apply new default colors to the Elementor & Gutenberg Buttons for existing users. * * @since 2.2.0 * * @return void */ function astra_page_builder_button_color_compatibility() { $theme_options = get_option( 'astra-settings', array() ); // Set flag to not load button specific CSS. if ( ! isset( $theme_options['pb-button-color-compatibility'] ) ) { $theme_options['pb-button-color-compatibility'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Migrate option data from button vertical & horizontal padding to the new responsive padding param. * * @since 2.2.0 * * @return void */ function astra_vertical_horizontal_padding_migration() { $theme_options = get_option( 'astra-settings', array() ); $btn_vertical_padding = isset( $theme_options['button-v-padding'] ) ? $theme_options['button-v-padding'] : 10; $btn_horizontal_padding = isset( $theme_options['button-h-padding'] ) ? $theme_options['button-h-padding'] : 40; /** @psalm-suppress InvalidArgument */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort if ( false === astra_get_db_option( 'theme-button-padding', false ) ) { // Migrate button vertical padding to the new padding param for button. $theme_options['theme-button-padding'] = array( 'desktop' => array( 'top' => $btn_vertical_padding, 'right' => $btn_horizontal_padding, 'bottom' => $btn_vertical_padding, 'left' => $btn_horizontal_padding, ), 'tablet' => array( 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', ), 'mobile' => array( 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', ), 'desktop-unit' => 'px', 'tablet-unit' => 'px', 'mobile-unit' => 'px', ); update_option( 'astra-settings', $theme_options ); } } /** * Migrate option data from button url to the new link param. * * @since 2.3.0 * * @return void */ function astra_header_button_new_options() { $theme_options = get_option( 'astra-settings', array() ); $btn_url = isset( $theme_options['header-main-rt-section-button-link'] ) ? $theme_options['header-main-rt-section-button-link'] : 'https://www.wpastra.com'; $theme_options['header-main-rt-section-button-link-option'] = array( 'url' => $btn_url, 'new_tab' => false, 'link_rel' => '', ); update_option( 'astra-settings', $theme_options ); } /** * For existing users, do not provide Elementor Default Color Typo settings compatibility by default. * * @since 2.3.3 * * @return void */ function astra_elementor_default_color_typo_comp() { $theme_options = get_option( 'astra-settings', array() ); // Set flag to not load button specific CSS. if ( ! isset( $theme_options['ele-default-color-typo-setting-comp'] ) ) { $theme_options['ele-default-color-typo-setting-comp'] = false; update_option( 'astra-settings', $theme_options ); } } /** * For existing users, change the separator from html entity to css entity. * * @since 2.3.4 * * @return void */ function astra_breadcrumb_separator_fix() { $theme_options = get_option( 'astra-settings', array() ); // Check if the saved database value for Breadcrumb Separator is "»", then change it to '\00bb'. if ( isset( $theme_options['breadcrumb-separator'] ) && '»' === $theme_options['breadcrumb-separator'] ) { $theme_options['breadcrumb-separator'] = '\00bb'; update_option( 'astra-settings', $theme_options ); } } /** * Check if we need to change the default value for tablet breakpoint. * * @since 2.4.0 * @return void */ 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 ); } /** * Migrate option data from site layout background option to its desktop counterpart. * * @since 2.4.0 * * @return void */ function astra_responsive_base_background_option() { $theme_options = get_option( 'astra-settings', array() ); if ( false === get_option( 'site-layout-outside-bg-obj-responsive', false ) && isset( $theme_options['site-layout-outside-bg-obj'] ) ) { $theme_options['site-layout-outside-bg-obj-responsive']['desktop'] = $theme_options['site-layout-outside-bg-obj']; $theme_options['site-layout-outside-bg-obj-responsive']['tablet'] = array( 'background-color' => '', 'background-image' => '', 'background-repeat' => 'repeat', 'background-position' => 'center center', 'background-size' => 'auto', 'background-attachment' => 'scroll', ); $theme_options['site-layout-outside-bg-obj-responsive']['mobile'] = array( 'background-color' => '', 'background-image' => '', 'background-repeat' => 'repeat', 'background-position' => 'center center', 'background-size' => 'auto', 'background-attachment' => 'scroll', ); } update_option( 'astra-settings', $theme_options ); } /** * Do not apply new wide/full image CSS for existing users. * * @since 2.4.4 * * @return void */ function astra_gtn_full_wide_image_group_css() { $theme_options = get_option( 'astra-settings', array() ); // Set flag to not load button specific CSS. if ( ! isset( $theme_options['gtn-full-wide-image-grp-css'] ) ) { $theme_options['gtn-full-wide-image-grp-css'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Do not apply new wide/full Group and Cover block CSS for existing users. * * @since 2.5.0 * * @return void */ function astra_gtn_full_wide_group_cover_css() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['gtn-full-wide-grp-cover-css'] ) ) { $theme_options['gtn-full-wide-grp-cover-css'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Do not apply the global border width and border color setting for the existng users. * * @since 2.5.0 * * @return void */ function astra_global_button_woo_css() { $theme_options = get_option( 'astra-settings', array() ); // Set flag to not load button specific CSS. if ( ! isset( $theme_options['global-btn-woo-css'] ) ) { $theme_options['global-btn-woo-css'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Migrate Footer Widget param to array. * * @since 2.5.2 * * @return void */ function astra_footer_widget_bg() { $theme_options = get_option( 'astra-settings', array() ); // Check if Footer Backgound array is already set or not. If not then set it as array. if ( isset( $theme_options['footer-adv-bg-obj'] ) && ! is_array( $theme_options['footer-adv-bg-obj'] ) ) { $theme_options['footer-adv-bg-obj'] = array( 'background-color' => '', 'background-image' => '', 'background-repeat' => 'repeat', 'background-position' => 'center center', 'background-size' => 'auto', 'background-attachment' => 'scroll', ); update_option( 'astra-settings', $theme_options ); } } /** * Check if we need to load icons as font or SVG. * * @since 3.3.0 * @return void */ function astra_icons_svg_compatibility() { $theme_options = get_option( 'astra-settings' ); if ( ! isset( $theme_options['can-update-astra-icons-svg'] ) ) { // Set a flag to check if we need to add icons as SVG. $theme_options['can-update-astra-icons-svg'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Migrate Background control options to new array. * * @since 3.0.0 * * @return void */ function astra_bg_control_migration() { $db_options = array( 'footer-adv-bg-obj', 'footer-bg-obj', 'sidebar-bg-obj', ); $theme_options = get_option( 'astra-settings', array() ); foreach ( $db_options as $option_name ) { if ( ! ( isset( $theme_options[ $option_name ]['background-type'] ) && isset( $theme_options[ $option_name ]['background-media'] ) ) && isset( $theme_options[ $option_name ] ) ) { if ( ! empty( $theme_options[ $option_name ]['background-image'] ) ) { $theme_options[ $option_name ]['background-type'] = 'image'; $theme_options[ $option_name ]['background-media'] = attachment_url_to_postid( $theme_options[ $option_name ]['background-image'] ); } else { $theme_options[ $option_name ]['background-type'] = ''; $theme_options[ $option_name ]['background-media'] = ''; } error_log( sprintf( 'Astra: Migrating Background Option - %s', $option_name ) ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log update_option( 'astra-settings', $theme_options ); } } } /** * Migrate Background Responsive options to new array. * * @since 3.0.0 * * @return void */ function astra_bg_responsive_control_migration() { $db_options = array( 'site-layout-outside-bg-obj-responsive', 'content-bg-obj-responsive', 'header-bg-obj-responsive', 'primary-menu-bg-obj-responsive', 'above-header-bg-obj-responsive', 'above-header-menu-bg-obj-responsive', 'below-header-bg-obj-responsive', 'below-header-menu-bg-obj-responsive', ); $theme_options = get_option( 'astra-settings', array() ); foreach ( $db_options as $option_name ) { if ( ! ( isset( $theme_options[ $option_name ]['desktop']['background-type'] ) && isset( $theme_options[ $option_name ]['desktop']['background-media'] ) ) && isset( $theme_options[ $option_name ] ) ) { if ( ! empty( $theme_options[ $option_name ]['desktop']['background-image'] ) ) { $theme_options[ $option_name ]['desktop']['background-type'] = 'image'; $theme_options[ $option_name ]['desktop']['background-media'] = attachment_url_to_postid( $theme_options[ $option_name ]['desktop']['background-image'] ); } else { $theme_options[ $option_name ]['desktop']['background-type'] = ''; $theme_options[ $option_name ]['desktop']['background-media'] = ''; } if ( ! empty( $theme_options[ $option_name ]['tablet']['background-image'] ) ) { $theme_options[ $option_name ]['tablet']['background-type'] = 'image'; $theme_options[ $option_name ]['tablet']['background-media'] = attachment_url_to_postid( $theme_options[ $option_name ]['tablet']['background-image'] ); } else { $theme_options[ $option_name ]['tablet']['background-type'] = ''; $theme_options[ $option_name ]['tablet']['background-media'] = ''; } if ( ! empty( $theme_options[ $option_name ]['mobile']['background-image'] ) ) { $theme_options[ $option_name ]['mobile']['background-type'] = 'image'; $theme_options[ $option_name ]['mobile']['background-media'] = attachment_url_to_postid( $theme_options[ $option_name ]['mobile']['background-image'] ); } else { $theme_options[ $option_name ]['mobile']['background-type'] = ''; $theme_options[ $option_name ]['mobile']['background-media'] = ''; } error_log( sprintf( 'Astra: Migrating Background Response Option - %s', $option_name ) ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log update_option( 'astra-settings', $theme_options ); } } } /** * Do not apply new Group, Column and Media & Text block CSS for existing users. * * @since 3.0.0 * * @return void */ function astra_gutenberg_core_blocks_design_compatibility() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['guntenberg-core-blocks-comp-css'] ) ) { $theme_options['guntenberg-core-blocks-comp-css'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Header Footer builder - Migration compatibility. * * @since 3.0.0 * * @return void */ function astra_header_builder_compatibility() { $theme_options = get_option( 'astra-settings', array() ); // Set flag to not load button specific CSS. if ( ! isset( $theme_options['is-header-footer-builder'] ) ) { $theme_options['is-header-footer-builder'] = false; update_option( 'astra-settings', $theme_options ); } if ( ! isset( $theme_options['header-footer-builder-notice'] ) ) { $theme_options['header-footer-builder-notice'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Clears assets cache and regenerates new assets files. * * @since 3.0.1 * * @return void */ function astra_clear_assets_cache() { if ( is_callable( 'Astra_Minify::refresh_assets' ) ) { Astra_Minify::refresh_assets(); } } /** * Do not apply new Media & Text block padding CSS & not remove padding for #primary on mobile devices directly for existing users. * * @since 2.6.1 * * @return void */ function astra_gutenberg_media_text_block_css_compatibility() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['guntenberg-media-text-block-padding-css'] ) ) { $theme_options['guntenberg-media-text-block-padding-css'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Gutenberg pattern compatibility changes. * * @since 3.3.0 * * @return void */ function astra_gutenberg_pattern_compatibility() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['guntenberg-button-pattern-compat-css'] ) ) { $theme_options['guntenberg-button-pattern-compat-css'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Set flag to provide backward compatibility of float based CSS for existing users. * * @since 3.3.0 * @return void. */ function astra_check_flex_based_css() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['is-flex-based-css'] ) ) { $theme_options['is-flex-based-css'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Update the Cart Style, Icon color & Border radius if None style is selected. * * @since 3.4.0 * @return void. */ function astra_update_cart_style() { $theme_options = get_option( 'astra-settings', array() ); if ( isset( $theme_options['woo-header-cart-icon-style'] ) && 'none' === $theme_options['woo-header-cart-icon-style'] ) { $theme_options['woo-header-cart-icon-style'] = 'outline'; $theme_options['header-woo-cart-icon-color'] = ''; $theme_options['woo-header-cart-icon-color'] = ''; $theme_options['woo-header-cart-icon-radius'] = ''; } if ( isset( $theme_options['edd-header-cart-icon-style'] ) && 'none' === $theme_options['edd-header-cart-icon-style'] ) { $theme_options['edd-header-cart-icon-style'] = 'outline'; $theme_options['edd-header-cart-icon-color'] = ''; $theme_options['edd-header-cart-icon-radius'] = ''; } update_option( 'astra-settings', $theme_options ); } /** * Update existing 'Grid Column Layout' option in responsive way in Related Posts. * Till this update 3.5.0 we have 'Grid Column Layout' only for singular option, but now we are improving it as responsive. * * @since 3.5.0 * @return void. */ function astra_update_related_posts_grid_layout() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['related-posts-grid-responsive'] ) && isset( $theme_options['related-posts-grid'] ) ) { /** * Managed here switch case to reduce further conditions in dynamic-css to get CSS value based on grid-template-columns. Because there are following CSS props used. * * '1' = grid-template-columns: 1fr; * '2' = grid-template-columns: repeat(2,1fr); * '3' = grid-template-columns: repeat(3,1fr); * '4' = grid-template-columns: repeat(4,1fr); * * And we already have Astra_Builder_Helper::$grid_size_mapping (used for footer layouts) for getting CSS values based on grid layouts. So migrating old value of grid here to new grid value. */ switch ( $theme_options['related-posts-grid'] ) { case '1': $grid_layout = 'full'; break; case '2': $grid_layout = '2-equal'; break; case '3': $grid_layout = '3-equal'; break; case '4': $grid_layout = '4-equal'; break; } $theme_options['related-posts-grid-responsive'] = array( 'desktop' => $grid_layout, 'tablet' => $grid_layout, 'mobile' => 'full', ); update_option( 'astra-settings', $theme_options ); } } /** * Migrate Site Title & Site Tagline options to new responsive array. * * @since 3.5.0 * * @return void */ function astra_site_title_tagline_responsive_control_migration() { $theme_options = get_option( 'astra-settings', array() ); if ( false === get_option( 'display-site-title-responsive', false ) && isset( $theme_options['display-site-title'] ) ) { $theme_options['display-site-title-responsive']['desktop'] = $theme_options['display-site-title']; $theme_options['display-site-title-responsive']['tablet'] = $theme_options['display-site-title']; $theme_options['display-site-title-responsive']['mobile'] = $theme_options['display-site-title']; } if ( false === get_option( 'display-site-tagline-responsive', false ) && isset( $theme_options['display-site-tagline'] ) ) { $theme_options['display-site-tagline-responsive']['desktop'] = $theme_options['display-site-tagline']; $theme_options['display-site-tagline-responsive']['tablet'] = $theme_options['display-site-tagline']; $theme_options['display-site-tagline-responsive']['mobile'] = $theme_options['display-site-tagline']; } update_option( 'astra-settings', $theme_options ); } /** * Do not apply new font-weight heading support CSS in editor/frontend directly. * * 1. Adding Font-weight support to widget titles. * 2. Customizer font CSS not supporting in editor. * * @since 3.6.0 * * @return void */ function astra_headings_font_support() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['can-support-widget-and-editor-fonts'] ) ) { $theme_options['can-support-widget-and-editor-fonts'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Set flag to avoid direct reflections on live site & to maintain backward compatibility for existing users. * * @since 3.6.0 * @return void. */ function astra_remove_logo_max_width() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['can-remove-logo-max-width-css'] ) ) { $theme_options['can-remove-logo-max-width-css'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Set flag to maintain backward compatibility for existing users for Transparent Header border bottom default value i.e from '' to 0. * * @since 3.6.0 * @return void. */ function astra_transparent_header_default_value() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['transparent-header-default-border'] ) ) { $theme_options['transparent-header-default-border'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Clear Astra + Astra Pro assets cache. * * @since 3.6.1 * @return void. */ function astra_clear_all_assets_cache() { if ( ! class_exists( 'Astra_Cache_Base' ) ) { return; } // Clear Astra theme asset cache. $astra_cache_base_instance = new Astra_Cache_Base( 'astra' ); $astra_cache_base_instance->refresh_assets( 'astra' ); // Clear Astra Addon's static and dynamic CSS asset cache. astra_clear_assets_cache(); $astra_addon_cache_base_instance = new Astra_Cache_Base( 'astra-addon' ); $astra_addon_cache_base_instance->refresh_assets( 'astra-addon' ); } /** * Set flag for updated default values for buttons & add GB Buttons padding support. * * @since 3.6.3 * @return void */ function astra_button_default_values_updated() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['btn-default-padding-updated'] ) ) { $theme_options['btn-default-padding-updated'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Set flag for old users, to not directly apply underline to content links. * * @since 3.6.4 * @return void */ function astra_update_underline_link_setting() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['underline-content-links'] ) ) { $theme_options['underline-content-links'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Add compatibility support for WP-5.8. as some of settings & blocks already their in WP-5.7 versions, that's why added backward here. * * @since 3.6.5 * @return void */ function astra_support_block_editor() { $theme_options = get_option( 'astra-settings' ); // Set flag on existing user's site to not reflect changes directly. if ( ! isset( $theme_options['support-block-editor'] ) ) { $theme_options['support-block-editor'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Set flag to maintain backward compatibility for existing users. * Fixing the case where footer widget's right margin space not working. * * @since 3.6.7 * @return void */ function astra_fix_footer_widget_right_margin_case() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['support-footer-widget-right-margin'] ) ) { $theme_options['support-footer-widget-right-margin'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Set flag to avoid direct reflections on live site & to maintain backward compatibility for existing users. * * @since 3.6.7 * @return void */ function astra_remove_elementor_toc_margin() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['remove-elementor-toc-margin-css'] ) ) { $theme_options['remove-elementor-toc-margin-css'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Set flag to avoid direct reflections on live site & to maintain backward compatibility for existing users. * Use: Setting flag for removing widget specific design options when WordPress 5.8 & above activated on site. * * @since 3.6.8 * @return void */ function astra_set_removal_widget_design_options_flag() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['remove-widget-design-options'] ) ) { $theme_options['remove-widget-design-options'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Apply zero font size for new users. * * @since 3.6.9 * @return void */ function astra_zero_font_size_comp() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['astra-zero-font-size-case-css'] ) ) { $theme_options['astra-zero-font-size-case-css'] = false; update_option( 'astra-settings', $theme_options ); } } /** Set flag to avoid direct reflections on live site & to maintain backward compatibility for existing users. * * @since 3.6.9 * @return void */ function astra_unset_builder_elements_underline() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['unset-builder-elements-underline'] ) ) { $theme_options['unset-builder-elements-underline'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Migrating Builder > Account > transparent resonsive menu color options to single color options. * Because we do not show menu on resonsive devices, whereas we trigger login link on responsive devices instead of showing menu. * * @since 3.6.9 * * @return void */ function astra_remove_responsive_account_menu_colors_support() { $theme_options = get_option( 'astra-settings', array() ); $account_menu_colors = array( 'transparent-account-menu-color', // Menu color. 'transparent-account-menu-bg-obj', // Menu background color. 'transparent-account-menu-h-color', // Menu hover color. 'transparent-account-menu-h-bg-color', // Menu background hover color. 'transparent-account-menu-a-color', // Menu active color. 'transparent-account-menu-a-bg-color', // Menu background active color. ); foreach ( $account_menu_colors as $color_option ) { if ( ! isset( $theme_options[ $color_option ] ) && isset( $theme_options[ $color_option . '-responsive' ]['desktop'] ) ) { $theme_options[ $color_option ] = $theme_options[ $color_option . '-responsive' ]['desktop']; } } update_option( 'astra-settings', $theme_options ); } /** * Link default color compatibility. * * @since 3.7.0 * @return void */ function astra_global_color_compatibility() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['support-global-color-format'] ) ) { $theme_options['support-global-color-format'] = false; } // Set Footer copyright text color for existing users to #3a3a3a. if ( ! isset( $theme_options['footer-copyright-color'] ) ) { $theme_options['footer-copyright-color'] = '#3a3a3a'; } update_option( 'astra-settings', $theme_options ); } /** * Set flag to avoid direct reflections on live site & to maintain backward compatibility for existing users. * * @since 3.7.4 * @return void */ function astra_improve_gutenberg_editor_ui() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['improve-gb-editor-ui'] ) ) { $theme_options['improve-gb-editor-ui'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Set flag to avoid direct reflections on live site & to maintain backward compatibility for existing users. * * Starting supporting content-background color for Full Width Contained & Full Width Stretched layouts. * * @since 3.7.8 * @return void */ function astra_fullwidth_layouts_apply_content_background() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['apply-content-background-fullwidth-layouts'] ) ) { $theme_options['apply-content-background-fullwidth-layouts'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Sets the default breadcrumb separator selector value if the current user is an exsisting user * * @since 3.7.8 * @return void */ function astra_set_default_breadcrumb_separator_option() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['breadcrumb-separator-selector'] ) ) { $theme_options['breadcrumb-separator-selector'] = 'unicode'; update_option( 'astra-settings', $theme_options ); } } /** * Set flag to avoid direct reflections on live site & to maintain backward compatibility for existing users. * * Backward flag purpose - To initiate modern & updated UI of block editor & frontend. * * @since 3.8.0 * @return void */ function astra_apply_modern_block_editor_ui() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['wp-blocks-ui'] ) && ! version_compare( $theme_options['theme-auto-version'], '3.8.0', '==' ) ) { $theme_options['blocks-legacy-setup'] = true; $theme_options['wp-blocks-ui'] = 'legacy'; update_option( 'astra-settings', $theme_options ); } } /** * Set flag to avoid direct reflections on live site & to maintain backward compatibility for existing users. * * Backward flag purpose - To keep structure defaults updation by filter. * * @since 3.8.3 * @return void */ function astra_update_customizer_layout_defaults() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['customizer-default-layout-update'] ) ) { $theme_options['customizer-default-layout-update'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Set flag to avoid direct reflections on live site & to maintain backward compatibility for existing users. * * Backward flag purpose - To initiate maintain modern, updated v2 experience of block editor & frontend. * * @since 3.8.3 * @return void */ function astra_apply_modern_block_editor_v2_ui() { $theme_options = get_option( 'astra-settings', array() ); $option_updated = false; if ( ! isset( $theme_options['wp-blocks-v2-ui'] ) ) { $theme_options['wp-blocks-v2-ui'] = false; $option_updated = true; } if ( ! isset( $theme_options['wp-blocks-ui'] ) ) { $theme_options['wp-blocks-ui'] = 'custom'; $option_updated = true; } if ( $option_updated ) { update_option( 'astra-settings', $theme_options ); } } /** * Display Cart Total and Title compatibility. * * @since 3.9.0 * @return void */ function astra_display_cart_total_title_compatibility() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['woo-header-cart-label-display'] ) ) { // Set the Display Cart Label toggle values with shortcodes. $cart_total_status = isset( $theme_options['woo-header-cart-total-display'] ) ? $theme_options['woo-header-cart-total-display'] : true; $cart_label_status = isset( $theme_options['woo-header-cart-title-display'] ) ? $theme_options['woo-header-cart-title-display'] : true; if ( $cart_total_status && $cart_label_status ) { $theme_options['woo-header-cart-label-display'] = __( 'Cart', 'astra' ) . '/{cart_total_currency_symbol}'; } elseif ( $cart_total_status ) { $theme_options['woo-header-cart-label-display'] = '{cart_total_currency_symbol}'; } elseif ( $cart_label_status ) { $theme_options['woo-header-cart-label-display'] = __( 'Cart', 'astra' ); } update_option( 'astra-settings', $theme_options ); } } /** * If old user then it keeps then default cart icon. * * @since 3.9.0 * @return void */ function astra_update_woocommerce_cart_icons() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['astra-woocommerce-cart-icons-flag'] ) ) { $theme_options['astra-woocommerce-cart-icons-flag'] = false; } } /** * Set brder color to blank for old users for new users 'default' will take over. * * @since 3.9.0 * @return void */ function astra_legacy_customizer_maintenance() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['border-color'] ) ) { $theme_options['border-color'] = '#dddddd'; update_option( 'astra-settings', $theme_options ); } } /** * Enable single product breadcrumb to maintain backward compatibility for existing users. * * @since 3.9.0 * @return void */ function astra_update_single_product_breadcrumb() { $theme_options = get_option( 'astra-settings', array() ); if ( isset( $theme_options['single-product-breadcrumb-disable'] ) ) { $theme_options['single-product-breadcrumb-disable'] = ( true === $theme_options['single-product-breadcrumb-disable'] ) ? false : true; } else { $theme_options['single-product-breadcrumb-disable'] = true; } update_option( 'astra-settings', $theme_options ); } /** * Restrict direct changes on users end so make it filterable. * * @since 3.9.0 * @return void */ function astra_apply_modern_ecommerce_setup() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['modern-ecommerce-setup'] ) ) { $theme_options['modern-ecommerce-setup'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Migrate old user data to new responsive format layout for shop's summary box content alignment. * * @since 3.9.0 * @return void */ function astra_responsive_shop_content_alignment() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['shop-product-align-responsive'] ) && isset( $theme_options['shop-product-align'] ) ) { $theme_options['shop-product-align-responsive'] = array( 'desktop' => $theme_options['shop-product-align'], 'tablet' => $theme_options['shop-product-align'], 'mobile' => $theme_options['shop-product-align'], ); update_option( 'astra-settings', $theme_options ); } } /** * Change default layout to standard for old users. * * @since 3.9.2 * @return void */ function astra_shop_style_design_layout() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['woo-shop-style-flag'] ) ) { $theme_options['woo-shop-style-flag'] = true; update_option( 'astra-settings', $theme_options ); } } /** * Apply css for show password icon on woocommerce account page. * * @since 3.9.2 * @return void */ function astra_apply_woocommerce_show_password_icon_css() { $theme_options = get_option( 'astra-settings', array() ); if ( ! isset( $theme_options['woo-show-password-icon'] ) ) { $theme_options['woo-show-password-icon'] = false; update_option( 'astra-settings', $theme_options ); } } /** * Handle backward compatibility on version 3.9.4 * * @since 3.9.4 * @return void */ function astra_theme_background_updater_3_9_4() { $theme_options = get_option( 'astra-settings', array() ); // Check if user is a old global sidebar user. if ( ! isset( $theme_options['astra-old-global-sidebar-default'] ) ) { $theme_options['astra-old-global-sidebar-default'] = false; update_option( 'astra-settings', $theme_options ); } // Slide in cart width responsive control backwards compatibility. if ( isset( $theme_options['woo-desktop-cart-flyout-width'] ) && ! isset( $theme_options['woo-slide-in-cart-width'] ) ) { $theme_options['woo-slide-in-cart-width'] = array( 'desktop' => $theme_options['woo-desktop-cart-flyout-width'], 'tablet' => '', 'mobile' => '', 'desktop-unit' => 'px', 'tablet-unit' => 'px', 'mobile-unit' => 'px', ); update_option( 'astra-settings', $theme_options ); } // Astra Spectra Gutenberg Compatibility CSS. if ( ! isset( $theme_options['spectra-gutenberg-compat-css'] ) ) { $theme_options['spectra-gutenberg-compat-css'] = false; update_option( 'astra-settings', $theme_options ); } } onlinebestcasino7103-4 Archives - IAD - Interior Art Design https://interiorartdesign.in/category/onlinebestcasino7103-4/ Best interior designer near you Sat, 17 Oct 2026 07:44:29 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.3 https://interiorartdesign.in/wp-content/uploads/2021/06/bg-logo-150x150.png onlinebestcasino7103-4 Archives - IAD - Interior Art Design https://interiorartdesign.in/category/onlinebestcasino7103-4/ 32 32 Discover the Exciting World of Online Casinos in Quebec 622244796 https://interiorartdesign.in/2026/10/07/discover-the-exciting-world-of-online-casinos-in-4/ https://interiorartdesign.in/2026/10/07/discover-the-exciting-world-of-online-casinos-in-4/#respond Wed, 07 Oct 2026 13:53:44 +0000 https://interiorartdesign.in/?p=16000 With the rise of the digital age, online gambling has become an increasingly popular pastime for many Canadians. In the province of Quebec, the landscape of online casinos is vibrant and diverse, catering to the preferences of both local and international players. Whether you are an experienced player or a novice, the options are plentiful. …

Discover the Exciting World of Online Casinos in Quebec 622244796 Read More »

The post Discover the Exciting World of Online Casinos in Quebec 622244796 appeared first on IAD - Interior Art Design.

]]>
Discover the Exciting World of Online Casinos in Quebec 622244796

With the rise of the digital age, online gambling has become an increasingly popular pastime for many Canadians. In the province of Quebec, the landscape of online casinos is vibrant and diverse, catering to the preferences of both local and international players. Whether you are an experienced player or a novice, the options are plentiful. For a detailed overview of the offerings available to you, visit casino quebec online www.courge-quebec.com, where you can find all the information you need.

Understanding Online Casinos in Quebec

Online casinos in Quebec offer a wide array of games and betting options that you might find in traditional brick-and-mortar establishments. These platforms usually feature slots, poker, blackjack, roulette, and many other games. The appeal of online gambling lies in the convenience it offers, allowing players to enjoy their favorite games from the comfort of their homes or on-the-go via mobile devices.

Legal Framework

The legal landscape for online gambling in Quebec is regulated by Loto-Québec, which oversees the operation of online gaming platforms within the province. As a player, it’s essential to choose licensed and regulated casinos to ensure fair play, security, and the protection of your personal information. Loto-Québec operates its own online gaming site, called Espace Jeux, where players can enjoy various games and betting options legally and safely.

The Popular Games You Can Play

Online casinos in Quebec generally offer a broad spectrum of games. Some of the most popular categories include:

    Discover the Exciting World of Online Casinos in Quebec 622244796
  • Slot Machines: These are among the most played games, given their simple rules and the potential for significant jackpots. Many casinos boast a variety of themes and progressive jackpots.
  • Table Games: Classics such as blackjack, poker, and roulette are cornerstones of any casino, whether online or offline. Players enjoy both the strategic elements of these games and the social interaction they provide.
  • Live Dealer Games: For those who crave a more immersive experience, live dealer games bridge the gap between online and conventional casinos. This feature allows players to interact with real dealers via video streaming.

Exclusive Promotions and Bonuses

One of the key attractions of online casinos is the plethora of bonuses and promotions available to players. These can significantly enhance your gaming experience. Common types of bonuses include:

  • Welcome Bonuses: New players are often greeted with generous welcome bonuses, which can include free spins, match bonuses, or no-deposit bonuses that allow you to start playing without making an initial deposit.
  • Discover the Exciting World of Online Casinos in Quebec 622244796
  • Cashback Offers: Some casinos offer cashback deals where players can receive a percentage of their losses back, which helps to mitigate risks and encourage continued play.
  • Loyalty Programs: Regular players can benefit from loyalty programs that reward them with points for their activity, which can then be redeemed for cash, bonuses, or exclusive experiences.

Mobile Gaming Options

With the increasing use of smartphones and tablets, mobile gaming has become an essential feature for online casinos in Quebec. Many platforms have invested in developing mobile-friendly versions of their sites or dedicated applications. This allows players to enjoy their favorite games wherever they are, providing flexibility and convenience.

Strategies for Responsible Gaming

While online casinos can be fun and entertaining, it’s crucial to engage in responsible gaming. Set a budget for your gambling activities and stick to it. Online platforms often provide tools to help you manage your spending, such as deposit limits and self-exclusion options. Remember that gambling should be a form of entertainment, not a way to make money.

Community and Social Interaction

Many online platforms have recognized the importance of community in gaming. Features like chat rooms, multiplayer games, and social media integration allow players to connect with one another, share experiences, and form virtual friendships. This adds an additional layer of enjoyment and engagement to the online gambling experience.

Choosing the Right Online Casino

With so many options available, it can be daunting to choose the right online casino. Here are some tips to help you select a platform that’s right for you:

  • Check for Licensing: Ensure the casino is licensed and regulated by an authoritative body.
  • Read Reviews: Look for reviews and player feedback to gauge the quality of the casino’s services and reliability.
  • Evaluate Game Variety: Choose a casino that offers a diverse selection of games that suit your preferences.
  • Customer Support: Reliable customer support is essential. Look for casinos that offer multiple contact methods and are available round-the-clock.

Future Trends in Online Gambling in Quebec

As technology evolves, so does the online gambling industry. Trends such as virtual reality (VR) gaming, enhanced security measures, and the use of cryptocurrency for transactions are beginning to shape the future of online casinos in Quebec. These advancements promise to create even more immersive and secure gaming experiences for players.

Conclusion

The world of online casinos in Quebec is dynamic and filled with opportunities for both enjoyment and potential rewards. With the proper understanding and responsible playing habits, you can take full advantage of the diverse offerings available. Whether it’s for the thrill of a high-stakes game or the enjoyment of casual slot play, the online gaming scene in Quebec has something for everyone.

The post Discover the Exciting World of Online Casinos in Quebec 622244796 appeared first on IAD - Interior Art Design.

]]>
https://interiorartdesign.in/2026/10/07/discover-the-exciting-world-of-online-casinos-in-4/feed/ 0
Explore the Thrilling World of Online Slot Casinos in Quebec 656702109 https://interiorartdesign.in/2026/10/07/explore-the-thrilling-world-of-online-slot-casinos-3/ https://interiorartdesign.in/2026/10/07/explore-the-thrilling-world-of-online-slot-casinos-3/#respond Wed, 07 Oct 2026 13:53:44 +0000 https://interiorartdesign.in/?p=16208 Online slot casinos have become increasingly popular in Quebec, providing a convenient and exciting way for players to enjoy their favorite games from the comfort of their homes. With a myriad of options available, players can easily discover online slot casino quebec online casino in Quebec that suits their preferences and gaming style. This article …

Explore the Thrilling World of Online Slot Casinos in Quebec 656702109 Read More »

The post Explore the Thrilling World of Online Slot Casinos in Quebec 656702109 appeared first on IAD - Interior Art Design.

]]>
Explore the Thrilling World of Online Slot Casinos in Quebec 656702109

Online slot casinos have become increasingly popular in Quebec, providing a convenient and exciting way for players to enjoy their favorite games from the comfort of their homes. With a myriad of options available, players can easily discover online slot casino quebec online casino in Quebec that suits their preferences and gaming style. This article will explore the vibrant online slot casino scene in Quebec, offering insights into the benefits of playing online slots, popular games, and tips for maximizing your gaming experience.

The Rise of Online Slot Casinos in Quebec

The gambling landscape in Quebec has been evolving significantly over the years. With the advent of technology and the internet, traditional brick-and-mortar casinos are no longer the only option for players seeking entertainment. Online slot casinos offer several benefits that make them appealing to a wide range of players.

Accessibility and Convenience

One of the primary reasons why online slot casinos have gained popularity in Quebec is the accessibility they offer. Players can access their favorite slot games anytime, anywhere, as long as they have an internet connection. This level of convenience eliminates the need for travel to physical casinos, making it easier for players to indulge in their gaming activities.

Variety of Games

Online slot casinos provide a vast array of games that far surpass the offerings of traditional casinos. Quebec players can choose from hundreds of slot games, each featuring unique themes, graphics, and gameplay mechanics. Whether you’re a fan of classic fruit machines or modern video slots with intricate storylines, there’s something for everyone in the online slot casino world.

Popular Slot Games in Quebec

When it comes to choosing slot games, players in Quebec have their favorites that often dominate the gaming landscape. Some of the most popular online slot games include:

1. Mega Moolah

This iconic progressive jackpot slot is known for its life-changing payouts. Mega Moolah has made many players millionaires, thanks to its enticing jackpot feature. The game features a safari theme and offers multiple ways to win, which keeps players coming back for more.

2. Starburst

Starburst is a colorful and visually appealing slot game that has gained a massive following in Quebec. Its simplicity and high-energy gameplay make it a favorite among both new and experienced players. With expanding wilds and frequent payouts, Starburst ensures that players have an entertaining experience.

3. Gonzo’s Quest

This adventure-themed slot takes players on a journey to find the lost city of gold. With its innovative Avalanche feature, players can enjoy the thrill of multiple wins on a single spin. The captivating graphics and storyline make Gonzo’s Quest a must-try for any slot enthusiast.

Explore the Thrilling World of Online Slot Casinos in Quebec 656702109

Strategies for Success in Online Slots

While online slots are primarily games of chance, there are strategies that players can adopt to enhance their gaming experience and increase their chances of winning. Here are some tips to consider:

1. Choose the Right Casino

Before diving into the world of online slots, selecting a reputable and licensed online casino is crucial. Players should look for casinos that offer a wide variety of games, attractive bonuses, and secure payment options. Reading reviews and checking for licenses can help ensure a safe and enjoyable gaming experience.

2. Take Advantage of Bonuses and Promotions

Many online casinos in Quebec offer attractive bonuses, such as welcome bonuses, free spins, and loyalty programs. Players should take advantage of these promotions to extend their gaming sessions and increase their winning potential.

3. Set a Budget

One of the keys to responsible gaming is to set a budget before playing. Players should determine how much they are willing to spend and stick to that amount. This prevents overspending and ensures that gaming remains a fun and enjoyable activity.

4. Understand the Game Mechanics

Each slot game has its own set of rules and mechanics. Players should take the time to understand the paytable, features, and bonus rounds of the slot they are playing. This knowledge can significantly enhance the gaming experience and lead to more informed betting decisions.

The Future of Online Slot Casinos in Quebec

The future of online slot casinos in Quebec looks promising. With advancements in technology, players can expect even more innovative and engaging games. Virtual reality (VR) and augmented reality (AR) are already making waves in the gaming industry, and their integration into online slots could elevate the gaming experience to new heights.

Furthermore, as the online gambling industry continues to grow, more regulations and safety measures will be implemented to protect players. This will help foster a safe and responsible gaming environment, allowing players in Quebec to enjoy their favorite online slot games with peace of mind.

Conclusion

Online slot casinos have transformed the gambling experience in Quebec, offering players new levels of accessibility, variety, and excitement. With popular games, enticing bonuses, and strategic approaches, players can maximize their gaming experiences and enjoy the thrill of spinning the reels. As technology continues to advance, the future of online slots in Quebec is bright, promising even more innovation and entertainment for casino enthusiasts. Whether you’re a seasoned player or a newcomer, the vibrant online slot casino scene in Quebec is ready to welcome you with open arms.

The post Explore the Thrilling World of Online Slot Casinos in Quebec 656702109 appeared first on IAD - Interior Art Design.

]]>
https://interiorartdesign.in/2026/10/07/explore-the-thrilling-world-of-online-slot-casinos-3/feed/ 0
Fast Withdrawal Casino Sites Enjoy Quick Access to Your Winnings https://interiorartdesign.in/2026/10/07/fast-withdrawal-casino-sites-enjoy-quick-access-to/ https://interiorartdesign.in/2026/10/07/fast-withdrawal-casino-sites-enjoy-quick-access-to/#respond Wed, 07 Oct 2026 13:53:43 +0000 https://interiorartdesign.in/?p=16773 In the world of online gambling, one of the most coveted features players seek is the ability to access their winnings swiftly. Fast withdrawal casino sites have gained immense popularity, allowing players to enjoy their earnings without unnecessary delays. If you are on the lookout for a fast withdrawal casino sites fast withdrawal casino in …

Fast Withdrawal Casino Sites Enjoy Quick Access to Your Winnings Read More »

The post Fast Withdrawal Casino Sites Enjoy Quick Access to Your Winnings appeared first on IAD - Interior Art Design.

]]>
Fast Withdrawal Casino Sites Enjoy Quick Access to Your Winnings

In the world of online gambling, one of the most coveted features players seek is the ability to access their winnings swiftly. Fast withdrawal casino sites have gained immense popularity, allowing players to enjoy their earnings without unnecessary delays. If you are on the lookout for a fast withdrawal casino sites fast withdrawal casino in Canada, you’re not alone. In this article, we will explore the importance of fast withdrawals, how they work, and what you need to consider when selecting an online casino that offers this service.

What Are Fast Withdrawal Casino Sites?

Fast withdrawal casino sites are online gaming platforms that prioritize quick processing times for cashing out winnings. Unlike traditional casinos that may take several days to process withdrawals, fast withdrawal sites promise to deliver funds to players’ accounts within hours or even minutes. This convenience is particularly essential for players who want to enjoy their winnings immediately after an exhilarating gaming session.

The Benefits of Fast Withdrawals

There are several advantages to choosing a casino that offers fast payouts, including:

  • Immediate Enjoyment: Winning at a casino is exciting, and being able to access your funds quickly enhances the overall experience.
  • Trust and Reliability: Casinos that offer fast withdrawals often build a reputation for trustworthiness, as they demonstrate a commitment to customer satisfaction.
  • Better Game Selection: Many fast withdrawal casinos also offer an extensive range of games, from slots to live dealer options, ensuring that players find something to suit their tastes.
  • Peace of Mind: Players can rest easy knowing their winnings are readily available without long waiting periods.

How Do Fast Withdrawals Work?

Fast withdrawals rely on several factors, including the casino’s payment processing methods, verification techniques, and overall site efficiency. Here is an overview of the process:

  1. Account Verification: To withdraw winnings, players typically need to verify their identity. This can involve submitting identification documents, which is standard practice for most online casinos.
  2. Withdrawal Methods: Fast withdrawal sites offer a variety of payment methods that facilitate rapid transactions, such as e-wallets (like PayPal, Neteller, and Skrill), cryptocurrency options, and instant bank transfers.
  3. Processing Times: Once a withdrawal request is made, the casino processes it usually within a few hours. E-wallets provide among the quickest cash-out options, while bank transfers may take slightly longer.

Choosing the Best Fast Withdrawal Casino

When searching for a reliable fast withdrawal casino, there are several criteria you should consider to ensure a positive gambling experience:

1. Reputation and Licensing

One of the first steps is to check the casino’s reputation within the online gaming community. Look for reviews and ratings from other players. Additionally, ensure that the casino holds a valid gaming license, which provides legal assurance and accountability.

Fast Withdrawal Casino Sites Enjoy Quick Access to Your Winnings

2. Withdrawal Speed

When reviewing a casino, pay close attention to their advertised withdrawal times. Ensure they meet your expectations for speed. Remember that some methods may be faster than others, so check which methods offer the quickest options.

3. Withdrawal Limits

Some casinos impose limits on withdrawal amounts, which can affect your experience if you’ve had a significant win. Read the terms and conditions to understand these limits clearly.

4. Payment Methods

Diverse payment options can enhance your experience. Look for casinos that offer multiple fast withdrawal methods, giving you flexibility in how you receive your winnings.

5. Customer Support

Reliable customer support is crucial in resolving any issues that arise while cashing out. Opt for casinos that provide multiple communication channels and prompt responses.

Top Fast Withdrawal Casino Sites

As the demand for fast withdrawal casino sites grows, many platforms have prioritized speed and user satisfaction. Here are some of the top options:

  • Casino A: Known for its fast payouts and numerous game selections, Casino A offers both e-wallets and cryptocurrency options for quick cash-outs.
  • Casino B: With an impressive reputation and multiple payment methods, Casino B guarantees that withdrawals are processed within hours, if not minutes.
  • Casino C: This site has a strong commitment to player safety and offers a fast, efficient withdrawal system, making it a popular choice among players.

Conclusion

Fast withdrawal casino sites have transformed the online gambling landscape by offering players rapid access to their winnings, contributing to a more satisfying gaming experience. Players should prioritize casinos known for their quick processing times, reliability, and robust payment options. With careful consideration and research, you can find the best fast withdrawal casino to enjoy a thrilling gaming adventure with peace of mind, knowing your winnings are just a click away.

The post Fast Withdrawal Casino Sites Enjoy Quick Access to Your Winnings appeared first on IAD - Interior Art Design.

]]>
https://interiorartdesign.in/2026/10/07/fast-withdrawal-casino-sites-enjoy-quick-access-to/feed/ 0