Hello,
Please change the previous code to:
add_action('wp', 'et_template_hooks_custom', 30);
function et_template_hooks_custom() {
remove_action( 'woocommerce_single_product_summary', 'et_email_btn', 36 );
}
Regards
Free AI store scan · SalesMax
Paste your store address. SalesMax AI shows which upsell moments are missing. No signup.
Free AI speed test · FlashMax
Paste your site address. FlashMax runs Google Lighthouse for phone and desktop, checks Core Web Vitals and lists what to fix. No signup.
(live demo, opens in a new tab)
(live demo, opens in a new tab)
(live demo, opens in a new tab)
(live demo, opens in a new tab)
(live demo, opens in a new tab)
(live demo, opens in a new tab)
(live demo, opens in a new tab)
(live demo, opens in a new tab)
(live demo, opens in a new tab)
(live demo, opens in a new tab)
(live demo, opens in a new tab)
(live demo, opens in a new tab)
(live demo, opens in a new tab)
(live demo, opens in a new tab)
(live demo, opens in a new tab)
(live demo, opens in a new tab)