| Server IP : 145.239.37.162 / Your IP : 216.73.217.81 Web Server : Apache System : Linux webm003.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaa ( 38250) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaa/www/wp-content/themes/5lhplg6c/inc/mobile-header/ |
Upload File : |
<?php
if ( ! function_exists( 'qi_load_page_mobile_header' ) ) {
/**
* Function which loads page template module
*/
function qi_load_page_mobile_header() {
// Include mobile header template
echo apply_filters( 'qi_filter_mobile_header_template', qi_get_template_part( 'mobile-header', 'templates/mobile-header' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
add_action( 'qi_action_page_header_template', 'qi_load_page_mobile_header' );
}
if ( ! function_exists( 'qi_register_mobile_navigation_menus' ) ) {
/**
* Function which registers navigation menus
*/
function qi_register_mobile_navigation_menus() {
$navigation_menus = apply_filters( 'qi_filter_register_mobile_navigation_menus', array( 'mobile-navigation' => esc_html__( 'Mobile Navigation', 'qi' ) ) );
if ( ! empty( $navigation_menus ) ) {
register_nav_menus( $navigation_menus );
}
}
add_action( 'qi_action_after_include_modules', 'qi_register_mobile_navigation_menus' );
}