phpmailer_init action-hook . WP 2.2.0
Fires after PHPMailer is initialized.
Usage
add_action( 'phpmailer_init', 'action_function_name_1813' ); function action_function_name_1813( $phpmailer ){ // action... }
- $phpmailer(PHPMailer)
- The PHPMailer instance (passed by reference).
Changelog
Since 2.2.0 | Introduced. |
Where the hook is called
wp-includes/pluggable.php 494
do_action_ref_array( 'phpmailer_init', array( &$phpmailer ) );
Where in WP core the hook is used WordPress
wp-includes/ms-default-filters.php 103
add_action( 'phpmailer_init', 'fix_phpmailer_messageid' );