mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 06:03:38 +09:00
Renamed action to be more clear
This commit is contained in:
@@ -15,7 +15,7 @@ if ( ! class_exists( 'um\common\actions\Emails' ) ) {
|
||||
class Emails {
|
||||
|
||||
public function __construct() {
|
||||
add_action( 'um_mas_send_email', array( $this, 'send' ), 10, 3 );
|
||||
add_action( 'um_dispatch_email', array( $this, 'send' ), 10, 3 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -114,7 +114,7 @@ if ( ! class_exists( 'um\common\Secure' ) ) {
|
||||
if ( ! empty( $emails ) ) {
|
||||
foreach ( $emails as $email ) {
|
||||
UM()->maybe_action_scheduler()->enqueue_async_action(
|
||||
'um_mas_send_email',
|
||||
'um_dispatch_email',
|
||||
array(
|
||||
$email,
|
||||
'suspicious-activity',
|
||||
|
||||
Reference in New Issue
Block a user