<?php
/**
 * Active callback functions.
 *
 * @package UniKids
 */

function unikids_featured_slider_active( $control ) {
    if( $control->manager->get_setting( 'theme_options[enable_featured_slider_section]' )->value() == true ) {
        return true;
    }else{
        return false;
    }
}

function unikids_featured_services_active( $control ) {
    if( $control->manager->get_setting( 'theme_options[enable_featured_services_section]' )->value() == true ) {
        return true;
    }else{
        return false;
    }
}

function unikids_featured_gallery_active( $control ) {
    if( $control->manager->get_setting( 'theme_options[enable_featured_gallery_section]' )->value() == true ) {
        return true;
    }else{
        return false;
    }
}

function unikids_featured_classes_active( $control ) {
    if( $control->manager->get_setting( 'theme_options[enable_featured_classes_section]' )->value() == true ) {
        return true;
    }else{
        return false;
    }
}

function unikids_featured_team_active( $control ) {
    if( $control->manager->get_setting( 'theme_options[enable_featured_team_section]' )->value() == true ) {
        return true;
    }else{
        return false;
    }
}

function unikids_blog_active( $control ) {
    if( $control->manager->get_setting( 'theme_options[enable_blog_section]' )->value() == true ) {
        return true;
    }else{
        return false;
    }
}
