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( 'featured_posts_section_enable' )->value() ); } function businesszen_dairy_is_popular_posts_section_enable( $control ) { return ( $control->manager->get_setting( 'popular_posts_section_enable' )->value() ); } function businesszen_dairy_is_recent_posts_section_enable( $control ) { return ( $control->manager->get_setting( 'recent_posts_section_enable' )->value() ); } function businesszen_dairy_is_subscribe_section_enable( $control ) { return ( $control->manager->get_setting( 'subscribe_section_enable' )->value() ); } /*=============Partial Refresh=====================*/ if ( ! function_exists( 'businesszen_dairy_recent_posts_title_partial' ) ) : // recent_posts_title function businesszen_dairy_recent_posts_title_partial() { return esc_html( get_theme_mod( 'recent_posts_title' ) ); } endif; if ( ! function_exists( 'businesszen_dairy_recent_posts_sub_title_partial' ) ) : // recent_posts_sub_title function businesszen_dairy_recent_posts_sub_title_partial() { return esc_html( get_theme_mod( 'recent_posts_sub_title' ) ); } endif; if ( ! function_exists( 'businesszen_dairy_subscription_title_partial' ) ) : // subscription_title function businesszen_dairy_subscription_title_partial() { return esc_html( get_theme_mod( 'subscription_title' ) ); } endif; if ( ! function_exists( 'businesszen_dairy_subscription_description_partial' ) ) : // subscription_description function businesszen_dairy_subscription_description_partial() { return esc_html( get_theme_mod( 'subscription_description' ) ); } endif; if ( ! function_exists( 'businesszen_dairy_subscription_description_partial' ) ) : // subscription_description function businesszen_dairy_subscription_description_partial() { return esc_html( get_theme_mod( 'subscription_description' ) ); } endif; if ( ! function_exists( 'businesszen_dairy_subscription_btn_title_partial' ) ) : // subscription_btn_title function businesszen_dairy_subscription_btn_title_partial() { return esc_html( get_theme_mod( 'subscription_btn_title' ) ); } endif; if ( ! function_exists( 'businesszen_dairy_cta_btn_title_partial' ) ) : // cta_btn_title function businesszen_dairy_cta_btn_title_partial() { return esc_html( get_theme_mod( 'cta_btn_title' ) ); } endif;