ASTRA_THEME_SETTINGS . '[sticky-header-language-switcher-heading]', 'type' => 'control', 'control' => 'ast-heading', 'section' => $_section, 'title' => __( 'Sticky Header Option', 'astra-addon' ), 'settings' => array(), 'priority' => 110, 'context' => array( array( 'setting' => ASTRA_THEME_SETTINGS . '[header-language-switcher-show-name]', 'operator' => '==', 'value' => true, ), astra_addon_builder_helper()->design_tab_config, ), 'divider' => array( 'ast_class' => 'ast-section-spacing' ), ), /** * Option: language-switcher Color. */ array( 'name' => ASTRA_THEME_SETTINGS . '[sticky-header-language-switcher-color]', 'default' => astra_get_option( 'sticky-header-language-switcher-color' ), 'type' => 'control', 'section' => $_section, 'priority' => 120, 'transport' => 'postMessage', 'control' => 'ast-color', 'title' => __( 'Color', 'astra-addon' ), 'divider' => array( 'ast_class' => 'ast-bottom-spacing' ), 'context' => array( array( 'setting' => ASTRA_THEME_SETTINGS . '[header-language-switcher-show-name]', 'operator' => '==', 'value' => true, ), astra_addon_builder_helper()->design_tab_config, ), ), ); return array_merge( $configurations, $_configs ); } } new Astra_Sticky_Header_Language_Switcher_Configs();