apply_filters( 'bp_send_email_delivery_class', string $deliver_class , string $email_type , array|string $to , array $args )
Filter the email delivery class.
Description Description
Defaults to BP_PHPMailer, which as you can guess, implements PHPMailer.
Parameters Parameters
- $deliver_class
-
The email delivery class name.
- $email_type
-
Type of email being sent.
- $to
-
Array or comma-separated list of email addresses to the email to.
- $args
-
Array of extra parameters.
- 'tokens'
(array) Optional. Associative arrays of string replacements for the email.
- 'tokens'
Source Source
File: bp-core/bp-core-functions.php
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |