apply_filters( 'bp_send_email_delivery_class', string $deliver_class , string $email_type , array|string $to , array $args )
Filter the email delivery class.
Description
Defaults to BP_PHPMailer, which as you can guess, implements PHPMailer.
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
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.5.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.