/home/techb158/l2hypotheques.com/wp-content/plugins/wpforms/src/Tasks/Actions
NameSizeModeActions
AsyncRequestTask.php11120644editdlrm
EntryEmailsMetaCleanupTask.php21640644editdlrm
EntryEmailsTask.php13700644editdlrm
FormsLocatorScanTask.php118430644editdlrm
Migration173Task.php53320644editdlrm
Migration175Task.php109810644editdlrm
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/wpforms/src/Tasks/Actions/EntryEmailsTask.php (1370B)
async(); } /** * Get the data from Tasks meta table, check/unpack it and * send the email straight away. * * @since 1.5.9 * @since 1.5.9.3 Send immediately instead of calling \WPForms_Process::entry_email() method. * * @param int $meta_id ID for meta information for a task. */ public static function process( $meta_id ) { $task_meta = new Meta(); $meta = $task_meta->get( (int) $meta_id ); // We should actually receive something. if ( empty( $meta ) || empty( $meta->data ) ) { return; } // We expect a certain number of params. if ( count( $meta->data ) !== 5 ) { return; } // We expect a certain meta data structure for this task. list( $to, $subject, $message, $headers, $attachments ) = $meta->data; // Let's do this NOW, finally. wp_mail( $to, $subject, $message, $headers, $attachments ); } }