manager->get_setting( 'theme_options[archive_image]' )->value() ) { return true; } else { return false; } } endif; if ( ! function_exists( 'business_way_is_image_in_single_active' ) ) : /** * Check if image in single is active. * * @since 1.0.0 * * @param WP_Customize_Control $control WP_Customize_Control instance. * * @return bool Whether the control is active to the current preview. */ function business_way_is_image_in_single_active( $control ) { if ( 'disable' !== $control->manager->get_setting( 'theme_options[single_image]' )->value() ) { return true; } else { return false; } } endif; if ( ! function_exists( 'business_way_is_footer_cta_active' ) ) : /** * Check if footer cta is active. * * @since 1.0.0 * * @param WP_Customize_Control $control WP_Customize_Control instance. * * @return bool Whether the control is active to the current preview. */ function business_way_is_footer_cta_active( $control ) { if ( $control->manager->get_setting( 'theme_options[footer_cta_status]' )->value() ) { return true; } else { return false; } } endif;