Skip to content
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

Update "Disable new user notifications" for Checkout Block #170

Open
mihaijoldis opened this issue Feb 24, 2023 · 0 comments
Open

Update "Disable new user notifications" for Checkout Block #170

mihaijoldis opened this issue Feb 24, 2023 · 0 comments

Comments

@mihaijoldis
Copy link
Contributor

add_action( 'edd_pre_process_purchase', 'prefix_remove_user_emails' );
function prefix_remove_user_emails() {
    remove_action( 'edd_insert_user', 'edd_new_user_notification', 10, 2 );
}

Based on the discussion here https://awesomemotive.slack.com/archives/C02F2HFGF33/p1677132297465289 we should add that to the snippet and mention this is for the EDD Checkout block if user is using it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant