Action
rpress_reminder_sent
On this page
Fires after an order reminder email has been sent.
Runs in rpress_reminder_send() after the email was sent, the order was marked as reminded, the scheduled event was cleared and a payment note was added.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$payment_id | int | Order ID. |
Example#
function my_on_reminder_sent( $payment_id ) {
update_post_meta( $payment_id, 'my_reminder_logged', time() );
}
add_action( 'rpress_reminder_sent', 'my_on_reminder_sent' );
Source#
Fired from:
includes/features/reminder-emails/functions.php(line 254), inrpress_reminder_send()
See also#
Was this page helpful?
