Skip to content
Docs
Get RestroPress

Action

rpress_reminder_sent

Updated
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#

ParameterTypeDescription
$payment_idintOrder 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), in rpress_reminder_send()

See also#

Was this page helpful?