-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to unhook woocommerce_email_after_order_table #99
Comments
@tom-mollie any chance you can help me with this? |
Hi @afeistenauer , Sure! First question: Have you tried adding a See: https://codex.wordpress.org/Function_Reference/remove_action That should probably work. If not, please let me know, and I'll try setting this up locally. Best regards, |
@afeistenauer Did you manage to do this? |
Hey @davdebcom I implemented it like this: function my_remove_mollie_payment_status_message_in_mails(){ Tricky part was finding out about how to access the correct gateway by using the global $gateway object. |
Thank you, added it to this page! |
@tom-mollie This snippet no seems to longer works (latest versions of all WP, WooCommerce and Mollie plug-in) |
Hi,
I'm trying to remove the Payment notice in the emails with uncertain Payment status. It is hooked here.
https://github.com/mollie/WooCommerce/blob/master/mollie-payments-for-woocommerce/includes/mollie/wc/gateway/abstract.php#L70
How can I unhook the method in my theme?
The text was updated successfully, but these errors were encountered: