on_off_label = $args['on_off_label']; parent::__construct( $manager, $id, $args ); } public function render_content(){ ?> label ); ?> description ){ ?> description ); ?> value() == 'true' ) ? 'switch-on' : ''; $on_off_label = $this->on_off_label; ?>
link(); ?> type="hidden" value="value() ); ?>"/> choices ) ) return; ?> manager->get_setting( 'introduction_section_enable' )->value() ); } function camera_store_is_about_section_enable( $control ) { return ( $control->manager->get_setting( 'about_section_enable' )->value() ); } function camera_store_is_cta_section_enable( $control ) { return ( $control->manager->get_setting( 'cta_section_enable' )->value() ); } function stortech_is_gallery_section_enable( $control ) { return ( $control->manager->get_setting( 'gallery_section_enable' )->value() ); } function camera_store_is_design_section_enable( $control ) { return ( $control->manager->get_setting( 'design_section_enable' )->value() ); } function camera_store_is_zoom_section_enable( $control ) { return ( $control->manager->get_setting( 'zoom_section_enable' )->value() ); } function camera_store_is_similar_section_enable( $control ) { return ( $control->manager->get_setting( 'similar_section_enable' )->value() ); } /*=============partial refresh=====================*/ if ( ! function_exists( 'camera_store_introduction_subtitle_partial' ) ) : // introduction_subtitle function camera_store_introduction_subtitle_partial() { return esc_html( get_theme_mod( 'introduction_subtitle' ) ); } endif; if ( ! function_exists( 'camera_store_introduction_product_text_partial' ) ) : // introduction_product_text function camera_store_introduction_product_text_partial() { return esc_html( get_theme_mod( 'introduction_product_text' ) ); } endif; if ( ! function_exists( 'camera_store_about_btn_label_partial' ) ) : // about_btn_label function camera_store_about_btn_label_partial() { return esc_html( get_theme_mod( 'about_btn_label' ) ); } endif; if ( ! function_exists( 'camera_store_gallery_title_partial' ) ) : // gallery_title function camera_store_gallery_title_partial() { return esc_html( get_theme_mod( 'gallery_title' ) ); } endif; if ( ! function_exists( 'camera_store_gallery_subtitle_partial' ) ) : // gallery_subtitle function camera_store_gallery_subtitle_partial() { return esc_html( get_theme_mod( 'gallery_subtitle' ) ); } endif; if ( ! function_exists( 'camera_store_product_service_title_partial' ) ) : // product_service_title function camera_store_product_service_title_partial() { return esc_html( get_theme_mod( 'product_service_title' ) ); } endif; if ( ! function_exists( 'camera_store_product_service_subtitle_partial' ) ) : // product_service_subtitle function camera_store_product_service_subtitle_partial() { return esc_html( get_theme_mod( 'product_service_subtitle' ) ); } endif; if ( ! function_exists( 'camera_store_design_btn_label_partial' ) ) : // design_btn_label function camera_store_design_btn_label_partial() { return esc_html( get_theme_mod( 'design_btn_label' ) ); } endif; if ( ! function_exists( 'camera_store_zoom_btn_label_partial' ) ) : // zoom_btn_label function camera_store_zoom_btn_label_partial() { return esc_html( get_theme_mod( 'zoom_btn_label' ) ); } endif; if ( ! function_exists( 'stortech_similar_title_partial' ) ) : // similar_title function stortech_similar_title_partial() { return esc_html( get_theme_mod( 'similar_title' ) ); } endif; if ( ! function_exists( 'stortech_similar_btn_label_partial' ) ) : // similar_btn_label function stortech_similar_btn_label_partial() { return esc_html( get_theme_mod( 'similar_btn_label' ) ); } endif;