Disciple_Tools_Notifications_Email

Extends \Disciple_Tools_Async_Task

Class Disciple_Tools_Notifications_Email

package

Disciple_Tools\Notifications

Methods

Prepare data for the asynchronous request

prepare_data(array $data) : array
Throws
\Exception

If for any reason the request should not happen.

Arguments

$data

array

An array of data sent to the hook

Response

array

Run the async task action Used when loading long running process with add_action Not used when launching via the dt_send_email() function.

run_action() 

Send email

send_email() 

Properties

action

action : 

Type(s)