Tagged: breadcrumb, filter, hook
Hi
i ‘m trying to redefine the breaadcrumb for woocommerce shop and product page
hence i try to remove the existing filter and adding my custom filter.
but nothing is happening, the old filter is still running and my custom filter does not run
is it the correct way to this :
remove_filter(‘avia_breadcrumbs_trail’, ‘avia_woocommerce_breadcrumb’);
add_filter(‘avia_breadcrumbs_trail’, array(&$this,’custom_woocommerce_breadcrumb’), 10, 2);
thanks
Hey Voilaah!
You could try this plugin: https://wordpress.org/plugins/breadcrumb-navxt/
Much easier and lots of options.
Regards,
Andy
Thks Andy,
i managed to use the filter finally, problem or loading ordering