mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-05-05 12:32:23 +08:00
https://github.com/impress-org/givewp-snippet-library/blob/master/email-customization/remove-new-user-notification.php
5 lines
201 B
Text
5 lines
201 B
Text
function my_give_remove_new_user_notification() {
|
|
remove_action( 'give_insert_user', 'give_new_user_notification', 10);
|
|
}
|
|
|
|
add_action( 'give_insert_user', 'my_give_remove_new_user_notification', 1 );
|