apply_filters( 'bp_email_use_wp_mail', bool $use_wp_mail )

Filter this to skip BP’s email handling and instead send everything to wp_mail().


Description Description

This is done if wp_mail_content_type() has been configured for HTML, or if wp_mail() has been redeclared (it’s a pluggable function).


Parameters Parameters

$use_wp_mail

Whether to fallback to the regular wp_mail() function or not.


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.