File: /home/lesanew/www/wp-content/plugins/neobeat-core/inc/header/scroll-appearance/fixed/helper.php
<?php
if ( ! function_exists( 'neobeat_core_add_fixed_header_option' ) ) {
/**
* This function set header scrolling appearance value for global header option map
*/
function neobeat_core_add_fixed_header_option( $header_scroll_appearance_options ) {
$header_scroll_appearance_options['fixed'] = esc_html__( 'Fixed', 'neobeat-core' );
return $header_scroll_appearance_options;
}
add_filter( 'neobeat_core_filter_header_scroll_appearance_option', 'neobeat_core_add_fixed_header_option' );
}
if ( ! function_exists( 'neobeat_core_fixed_header_remove_template_call' ) ) {
function neobeat_core_fixed_header_remove_template_call( $template ) {
$template = str_replace("fixed","",$template);
return $template;
}
//add_filter( 'neobeat_core_filter_header_scroll_appearance_template', 'neobeat_core_fixed_header_remove_template_call' );
}