I'm trying to use remove_action to prevent a part of a plugin from running – don't ask me why :-). The function within the plugin is: add_action( 'woocommerce_before_single_product_summary', array( $this, 'show_product_gallery' ), 30 ); and I'm trying to remove it by: remove_action( 'woocommerce_before_single_product_summary', array( $this, 'show_product_gallery' ), 30 ); For some reason it isn't doing … Continue reading remove_action not working for functions within a plugin
The post remove_action not working for functions within a plugin appeared first on Clan VPS Host.