manager->get_setting( 'theme_options[featured_news_status]' )->value() ) { return true; } else { return false; } } endif; if ( ! function_exists( 'bellyrn_is_breaking_news_active' ) ) : /** * Check if breaking news ticker 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 bellyrn_is_breaking_news_active( $control ) { if ( $control->manager->get_setting( 'theme_options[show_breaking_news]' )->value() ) { return true; } else { return false; } } endif;