I'm creating a plugin to remove some
WooCommerces action, but my plugins seems not loading in the front page, only in admin page.
Code is like this:
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price');
die('something is wrog'); in the code, just to make sure the plugin is working, but that message is showing up only in the admin page.
What I need to do to my plugin to affect front page?