<?php
	// woocommerce active callback.
function leatherhouse_woocommerce_content( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_woocommerce_disabled' )->value() == true );
}

function leatherhouse_woocommerce_background( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_woocommerce_disabled' )->value() == true );
}

// woocommerce Title.
function leatherhouse_woocommerce_area_title( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_woocommerce_disabled' )->value() == true );
}

	// woocommerce Description.
function leatherhouse_woocommerce_area_desc( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_woocommerce_disabled' )->value() == true );
}

function leatherhouse_woocommerce_loop( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_woocommerce_disabled' )->value() == true );
}

// Extra Settings.
function leatherhouse_woocommerce_extra_heading( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_woocommerce_disabled' )->value() == true );
}

	// Container.
function leatherhouse_woocommerce_container_size( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_woocommerce_disabled' )->value() == true );
}

	// Column.
function leatherhouse_woocommerce_column_layout( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_woocommerce_disabled' )->value() == true );
}

/* Section Color Setting */

function leatherhouse_woocommerce_section_color_heading( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_woocommerce_area_disabled' )->value() == true );
}
function leatherhouse_woocommerce_section_color_disable( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_woocommerce_area_disabled' )->value() == true );
}
function leatherhouse_woocommerce_section_title_color( $control ) {
	return true === (
		$control->manager->get_setting( 'leatherhouse_woocommerce_area_disabled' )->value() == true &&
		$control->manager->get_setting( 'leatherhouse_woocommerce_section_color_disable' )->value() == true
	);
}
function leatherhouse_woocommerce_section_description_color( $control ) {
	return true === (
		$control->manager->get_setting( 'leatherhouseoocommerce_area_disabled' )->value() == true &&
		$control->manager->get_setting( 'leatherhouse_woocommerce_section_color_disable' )->value() == true
	);
}
