ASTRA_THEME_SETTINGS . '[header-main-rt-section-search-box-type]', 'default' => astra_get_option( 'header-main-rt-section-search-box-type' ), 'section' => 'section-primary-menu', 'priority' => 20, 'title' => __( 'Search Style', 'astra-addon' ), 'type' => 'control', 'control' => 'ast-select', 'choices' => array( 'slide-search' => __( 'Slide Search', 'astra-addon' ), 'full-screen' => __( 'Full Screen Search', 'astra-addon' ), 'header-cover' => __( 'Header Cover Search', 'astra-addon' ), 'search-box' => __( 'Search Box', 'astra-addon' ), ), 'context' => array( astra_addon_builder_helper()->general_tab_config, array( 'setting' => ASTRA_THEME_SETTINGS . '[header-main-rt-section]', 'operator' => '==', 'value' => 'search', ), ), ), ); return array_merge( $configurations, $_configs ); } } } /** * Kicking this off by calling 'get_instance()' method */ new Astra_Customizer_Adv_Search_Header();