-
Notifications
You must be signed in to change notification settings - Fork 17
friends_send_mail
Alex Kirk edited this page Oct 16, 2024
·
12 revisions
add_filter(
'friends_send_mail',
function (
bool $true,
$to,
$subject,
$message,
$headers,
$attachments
) {
// Your code here
return $true;
},
10,
6
);
-
bool
$true
$to
$subject
$message
$headers
$attachments
apply_filters( 'friends_send_mail', true, $to, $subject, $message, $headers, $attachments )