![]() Server : LiteSpeed System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : claqxcrl ( 523) PHP Version : 8.1.32 Disable Function : NONE Directory : /home/claqxcrl/matelopsrp.com/wp-content/themes/master-business/inc/customizer/ |
<?php /** * Callback functions for active_callback. * * @package Master_Business */ if ( ! function_exists( 'master_business_is_featured_slider_active' ) ) : /** * Check if featured slider 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 master_business_is_featured_slider_active( $control ) { if ( 'disabled' !== $control->manager->get_setting( 'theme_options[featured_slider_status]' )->value() ) { return true; } else { return false; } } endif; if ( ! function_exists( 'master_business_is_featured_slider_caption_active' ) ) : /** * Check if featured slider caption 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 master_business_is_featured_slider_caption_active( $control ) { if ( true === $control->manager->get_setting( 'theme_options[featured_slider_enable_caption]' )->value() ) { return true; } else { return false; } } endif; if ( ! function_exists( 'master_business_is_featured_page_slider_active' ) ) : /** * Check if featured page slider 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 master_business_is_featured_page_slider_active( $control ) { if ( 'featured-page' === $control->manager->get_setting( 'theme_options[featured_slider_type]' )->value() && 'disabled' !== $control->manager->get_setting( 'theme_options[featured_slider_status]' )->value() ) { return true; } else { return false; } } endif; if ( ! function_exists( 'master_business_is_image_in_archive_active' ) ) : /** * Check if image in archive 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 master_business_is_image_in_archive_active( $control ) { if ( 'disable' !== $control->manager->get_setting( 'theme_options[archive_image]' )->value() ) { return true; } else { return false; } } endif;