Functions

dt_send_email

Shared DT email function to be used throughout the DT system. It provides asynchonous mail delivery that does not halt page load.

Example: dt_send_email( 'recipients@email.com', 'subject line', 'content of the message' );
« More »

dt_send_email_about_post

Shared DT email function, similar to dt_send_email, but intended for use for emails that are related to a particular contact record.

We want to keep the subject line for all updates related to a particular contact the same. For contact 43, the subject line should always be the same: Subject: Update on contact43 That way, Gmail.com will group these emails in a single conversation view. Ideally, we would use the `Message-ID` and `References` email headers to make this more robust and more portable in other email clients, but that would make this code more complex, as we probably would have to store the Message-IDs for previous sent emails. This function also appends a link in the email body to the contact record.
« More »

dt_load_async_email

This hook function listens for the prepared async process on every page load.

« More »

dt_notification_insert

« More »

dt_notification_delete

« More »

dt_notification_delete_by_post

« More »

Classes, interfaces and traits

Disciple_Tools_Notifications

Class Disciple_Tools_Notifications

« More »

Disciple_Tools_Notifications_Comments

Class Disciple_Tools_Notifications_Comments

« More »

Disciple_Tools_Notifications_Email

Class Disciple_Tools_Notifications_Email

« More »

Disciple_Tools_Notifications_Endpoints

Disciple_Tools_Notifications_Endpoints

« More »