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.


Top ↑

Source Source

File: bp-core/bp-core-functions.php


Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.