PHP 8.2.31
Preview: functions.php Size: 469 B
/home/nshryvcy/himaltourism.com/wp-content/plugins/megamenu/integration/zerif/functions.php

<?php

/**
 * Zerif binds smoothscroll events to the top level menu items. Stop MMM from unbinding these events.
 */
if ( ! function_exists('megamenu_dont_unbind_menu_events') ) {
    function megamenu_dont_unbind_menu_events($attributes, $menu_id, $menu_settings, $settings, $current_theme_location) {

        $attributes['data-unbind'] = "false";

        return $attributes;
    }
}
add_filter("megamenu_wrap_attributes", "megamenu_dont_unbind_menu_events", 11, 5);

Directory Contents

Dirs: 0 × Files: 1

Name Size Perms Modified Actions
469 B lrw-r--r-- 2025-01-05 05:34:13
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).