* reviewed and updated docs;

This commit is contained in:
Mykyta Synelnikov
2024-11-06 17:13:38 +02:00
parent c28135f212
commit 34ee3d5ebc
5 changed files with 71 additions and 47 deletions
+1 -1
View File
@@ -623,7 +623,7 @@ if ( ! class_exists( 'um\core\User' ) ) {
// send email notifications
if ( $this->send_mail_on_delete ) {
$user_email = um_user( 'user_email' );
$template = 'deletion_email';
$template = 'deletion_email';
UM()->maybe_action_scheduler()->enqueue_async_action( 'um_dispatch_email', array( $user_email, $template ) );