Forums
-
- Forum
- Posts
-
- Installation
- 28,499
- Troubleshooting
- 62,611
- Themes
- 10,431
- Plugins
- 15,360
- Requests & Feedback
- 14,971
- Showcase
- 3,257
-
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;