Noptin_Mailer::background_send( $to, $subject, $email )
Schedules an email to send in the background.
Source Source
File: includes/class-noptin-mailer.php
public function background_send( $to, $subject, $email ) { $data = compact( 'to', 'subject', 'email' ); $key = 'noptin_' . md5( uniqid() . time() . wp_rand( 0, 1000 ) ); set_transient( $key, $data ); do_noptin_background_action( 'send_bg_noptin_email', $key ); }
Expand full source code Collapse full source code View on GitHub