phpmailer_init

动作钩子


do_action_ref_array( 'phpmailer_init', array( &$phpmailer )
参数
  • (PHPMailer)
    $phpmailer
    The PHPMailer instance (passed by reference).
    Required:
定义位置
  • wp-includes/pluggable.php
    , line 536
引入
2.2.0
弃用

Fires after PHPMailer is initialized.

do_action_ref_array( 'phpmailer_init', array( &$phpmailer ) );