wip filter email subject and sender, in addition to message
This commit is contained in:
@@ -156,7 +156,7 @@ vous allez être redirigés vers votre espace',
|
||||
[
|
||||
'action'=>'success_payment',
|
||||
'notification_send'=>true,
|
||||
'notification_to'=>'test',
|
||||
'notification_to'=>'$$__admin_email__$$',
|
||||
'notification_subject'=>"paiement réussi",
|
||||
'notification_message'=>"par ici la monnaie",
|
||||
'confirmation_send'=>true,
|
||||
|
||||
@@ -12,6 +12,7 @@ if (!defined('ABSPATH')) {
|
||||
|
||||
function email_success_payment_CIPF($user_id) {
|
||||
Plgntls::debug_infos();
|
||||
error_log("in email success");
|
||||
|
||||
$user = get_user_by('id', $user_id);
|
||||
$to = $user->user_email;
|
||||
|
||||
Reference in New Issue
Block a user