C:\xampp\htdocs\landing\wp-content\plugins\penci-framework\mega-menu\mega-menu.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/*
 * wp_nav_menu( array(
 *        'container'      => '',
 *        'theme_location' => 'menu-1',
 *        'fallback_cb'    => 'penci_menu_fallback',
 *        'walker'         => class_exists( 'Penci_Walker_Nav_Menu' ) ? new Penci_Walker_Nav_Menu() : ''
 *    ) );
 */

if( ! function_exists'penci_mega_get_tax_support' ) ) {
    function 
penci_mega_get_tax_support(){
        
$default = array( 'category''post_tag''portfolio-category''product_cat''product_tag' );

        
$tax penci_get_theme_mod'penci_mega_tax' );
        if( ! 
$tax ){
            return 
$default;
        }

        
$tax str_replace' '''$tax );
        
$tax array_filterexplode','$tax ',' ) );

        return 
array_merge$default$tax );
    }
}

require_once 
dirname__FILE__ ) . '/main-menu.php';
require_once 
dirname__FILE__ ) . '/walker_nav_menu.php';
require_once 
dirname__FILE__ ) . '/menu-render.php';
require_once 
dirname__FILE__ ) . '/ajax-filter.php';
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586