I am using the woocommerce plugin on my WordPress site. There is a widget () function in the plugin, I want to call my own function, so when the site loads, not the plugin function
public function widget($args, $instance)
my function will be called.
I think this should be done using add_filter, I cannot find out how to do this.
Plugin Files Directory:
woocommerce/includes/widgets/class-wc-widget-layered-nav.php
user4023522
source share