do_action( 'hivepress/v1/emails/{email_name}/send', $email )
Fires when a new email is sent. The dynamic part of the hook refers to the email name (e.g. listing_expire). You can check the available emails in the includes/emails directory of HivePress.
Parameters:
| Name | Type | Description |
|---|---|---|
$email |
object | Email object. |
- Source: