Forums
-
- Forum
- Posts
-
- Installation
- 28,368
- Troubleshooting
- 62,222
- Themes
- 10,389
- Plugins
- 15,308
- Requests & Feedback
- 14,889
- Showcase
- 3,252
-
Since bb_mail() is in pluggable.php, it can be completely replaced by a plugin without having to modify any core files.
I suggest you write your plugin to do that instead of requiring people to modify pluggable.php.
/*
Plugin Name: SMTP PEAR blah
*/
if ( !function_exists( 'bb_mail' ) ) :
function bb_mail() {
// my replacement for bb_mail()
}
endif;
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS