apply_filters( 'bp_phpmailer_object', null|PHPMailer $phpmailer )

Filter PHPMailer object to use.

Description

Specify an alternative version of PHPMailer to use instead of WordPress’ default.

Parameters

$phpmailer

(null|PHPMailer) The phpmailer class.

Source

File: bp-core/classes/class-bp-phpmailer.php

Changelog

Changelog
Version Description
BuddyPress 2.8.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.