<?php

if ( ! function_exists( 'cevian_select_set_additional_hide_dep_options_for_fixed_header' ) ) {
	/**
	 * This function is used to set dependency values for fixed header panel in global option if sticky header behavior is set
	 */
	function cevian_select_set_additional_hide_dep_options_for_fixed_header( $hide_dep_options ) {
		$hide_dep_options[] = 'sticky-header-on-scroll-up';
		$hide_dep_options[] = 'sticky-header-on-scroll-down-up';
		
		return $hide_dep_options;
	}
	
	add_filter( 'cevian_select_filter_fixed_header_additional_hide_global_option', 'cevian_select_set_additional_hide_dep_options_for_fixed_header' );
}