HEX
Server: LiteSpeed
System: Linux cpir1.prohostdns.com 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: pelakir (2976)
PHP: 8.2.31
Disabled: exec, shell_exec, system, passthru, proc_open, proc_close, proc_terminate, proc_get_status, popen, pclose, pcntl_exec
Upload Files
File: //proc/self/cwd/wp-content/themes/woodmart/js/scripts/wc/categoriesAccordion.min.js
!function(o){woodmartThemeModule.$document.on("wdBackHistory wdShopPageInit",function(){woodmartThemeModule.categoriesAccordion()}),woodmartThemeModule.categoriesAccordion=function(){var e;"no"!==woodmart_settings.categories_toggle&&(e=o(".widget_product_categories, .wd-product-category-filter").find(".product-categories"),e.find(".wd-active-parent").each(function(){var e=o(this);0<e.find(" > .wd-cats-toggle").length||0!==e.find(" > .children").length&&0!==e.find(" > .children > *").length&&(e.hasClass("wd-active")||e.hasClass("wd-current-active-parent")?(e.children().eq(0).after('<div class="wd-cats-toggle toggle-active wd-role-btn" tabindex="0"></div>'),e.find("> .children").addClass("list-shown")):e.children().eq(0).after('<div class="wd-cats-toggle wd-role-btn"  tabindex="0"></div>'))}),e.on("click",".wd-cats-toggle",function(){var e=o(this),t=e.parent().find("> .children");t.hasClass("list-shown")?(e.removeClass("toggle-active"),t.stop().slideUp(300).removeClass("list-shown")):(t.parent().parent().find("> li > .list-shown").slideUp().removeClass("list-shown"),t.parent().parent().find("> li > .toggle-active").removeClass("toggle-active"),e.addClass("toggle-active"),t.stop().slideDown(300).addClass("list-shown"))}))},o(document).ready(function(){woodmartThemeModule.categoriesAccordion()})}(jQuery);