Perform an action after the email is prepared to send if using PHPMailer directly.


/**
 * Perform an action after the email is prepared to send if using PHPMailer directly.
 *
 * @see pmpro_send_html
 *
 * @param object $phpmailer
 */
do_action( 'pmpro_after_phpmailer_init', $phpmailer );

Parameters

$phpmailer
object

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/email.php

View in Source Code