Forums
-
- Forum
- Posts
-
- Installation
- 28,535
- Troubleshooting
- 62,773
- Themes
- 10,444
- Plugins
- 15,385
- Requests & Feedback
- 14,987
- Showcase
- 3,258
-
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;