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.
Source Source
File: bp-core/bp-core-functions.php
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |