For developers who need more control, the Abandoned Cart Recovery Add On offers filter hooks to change the reminder timing, decide who receives reminders, and customize the privacy message at checkout.

Filters

pmproacr_time_until_reminder_1

Filters how long to wait after a token order is created before starting a recovery attempt and sending the first reminder.

This value also sets how far back the Add On looks for abandoned carts: four times this delay. With the default of 1 hour, carts abandoned between 1 and 4 hours ago are checked.

apply_filters( 'pmproacr_time_until_reminder_1', int $seconds_until_reminder_1 );

Parameters

  • $seconds_until_reminder_1: int; The delay in seconds. Default HOUR_IN_SECONDS (1 hour).

pmproacr_time_until_reminder_2

Filters how long to wait after the first reminder before sending the second reminder.

apply_filters( 'pmproacr_time_until_reminder_2', int $seconds_until_reminder_2 );

Parameters

  • $seconds_until_reminder_2: int; The delay in seconds after Reminder 1 was sent. Default HOUR_IN_SECONDS * 23 (23 hours, or about 1 day after the cart was abandoned).

pmproacr_time_until_reminder_3

Filters how long to wait after the second reminder before sending the third and final reminder.

apply_filters( 'pmproacr_time_until_reminder_3', int $seconds_until_reminder_3 );

Parameters

  • $seconds_until_reminder_3: int; The delay in seconds after Reminder 2 was sent. Default DAY_IN_SECONDS * 6 (6 days, or about 1 week after the cart was abandoned).

pmproacr_time_until_lost

Filters how long to wait after the final reminder before marking an in-progress recovery attempt as lost.

apply_filters( 'pmproacr_time_until_lost', int $seconds_until_lost );

Parameters

  • $seconds_until_lost: int; The delay in seconds after Reminder 3 was sent. Default DAY_IN_SECONDS * 7 (7 days, or about 2 weeks after the cart was abandoned).

pmproacr_should_attempt_recovery

Filters whether to start a recovery attempt for an abandoned cart. By default, the Add On only follows up with users who don’t already have a membership level. Use this filter to change that rule, for example to also send reminders to members of a free level who abandoned an upgrade.

apply_filters( 'pmproacr_should_attempt_recovery', bool $recover_order, object $order_to_recover );

Parameters

  • $recover_order: bool; Whether to start a recovery attempt. Default true if the user has no active membership level, otherwise false.
  • $order_to_recover: object; The token order to recover, with the properties id, user_id, membership_id, total, timestamp, and status.

pmproacr_privacy_message

Filters the privacy message shown above the submit button at membership checkout. Return an empty string to hide the message.

This filter runs on every checkout page, so a message you return here also shows for levels without cart recovery enabled unless you check the level yourself.

apply_filters( 'pmproacr_privacy_message', string $pmproacr_privacy_message );

Parameters

  • $pmproacr_privacy_message: string; The message HTML. Default is a paragraph linking to your Privacy Policy page when cart recovery is enabled for the checkout level and a published Privacy Policy page is assigned, otherwise an empty string. The output allows <a>, <p>, <b>, <em>, <br>, and <strong> tags.

Last updated on November 9, 2026


Was this article helpful?
YesNo