cleaned email custer
This commit is contained in:
@@ -68,7 +68,6 @@ function filter_email_wp($args) {
|
||||
$pattern = '/\$\$(.*?)\$\$/';
|
||||
|
||||
$user_id = \CUSTER\find_user_id_from_headers($args);
|
||||
error_log("user_id: " . json_encode($user_id));
|
||||
|
||||
/*
|
||||
* loop through args
|
||||
@@ -93,7 +92,6 @@ error_log("user_id: " . json_encode($user_id));
|
||||
$args[$arg_key] = $new_arg;
|
||||
}
|
||||
|
||||
error_log("args: " . json_encode($args));
|
||||
return $args;
|
||||
}
|
||||
add_filter('wp_mail', __NAMESPACE__.'\filter_email_wp', 10, 1);
|
||||
|
||||
Reference in New Issue
Block a user