<?php
/**
* Site Hooks
*
* @package Katerio
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/* Hook Header Before */
add_action( 'hook_header_before', function() {
$hook_header_before = th90_display_elementor_content( th90_opt_override_blank( 'hook_header_before' ) );
if ( $hook_header_before && ! th90_multi_checkbox( th90_field( 'disable_templates' ), 'header_before' ) ) {
echo apply_filters( 'th90_hook_header_before_template', $hook_header_before );
}
}, 10 );
/* Hook Header After */
add_action( 'hook_header_after', function() {
$hook_header_after = th90_display_elementor_content( th90_opt_override_blank( 'hook_header_after' ) );
if ( $hook_header_after && ! th90_multi_checkbox( th90_field( 'disable_templates' ), 'header_after' ) ) {
echo apply_filters( 'th90_hook_header_after_template', $hook_header_after );
}
}, 10 );
/* Hook Footer Before */
add_action( 'hook_footer_before', function() {
$hook_footer_before = th90_display_elementor_content( th90_opt_override_blank( 'hook_footer_before' ) );
if ( $hook_footer_before && ! th90_multi_checkbox( th90_field( 'disable_templates' ), 'footer_before' )) {
echo apply_filters( 'th90_hook_footer_before_template', $hook_footer_before );
}
}, 10 );
/* Hook Footer After */
add_action( 'hook_footer_after', function() {
$hook_footer_after = th90_display_elementor_content( th90_opt_override_blank( 'hook_footer_after' ) );
if ( $hook_footer_after && ! th90_multi_checkbox( th90_field( 'disable_templates' ), 'footer_after' ) ) {
echo apply_filters( 'th90_hook_footer_after_template', $hook_footer_after );
}
}, 10 );