[wp-hackers] Help with wp_mail(), PHPMailer, and CC vs BCC

Thomas Scholz info at toscho.de
Wed Oct 9 07:56:21 UTC 2013


Mike Walsh:

> Is there a way to determine if wp_mail() has indeed been overloaded?

Use the Reflection API.
<http://www.php.net/manual/en/book.reflection.php>

$reflection = new ReflectionFunction( 'wp_mail' );
print $reflection->getFileName();

Thomas


More information about the wp-hackers mailing list