Recovero 1.3.0 has 33 actions and 60 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Recovero fires an action
add_action( 'ppl_acrw_cart_recovered', function( $cart_id, $data ) {
// Your code runs here.
}, 10, 2 );
// Change a value Recovero is about to use
add_filter( 'ppl_acrw_rate_limit', function( $value, $arg2 ) {
// Change $value here.
return $value;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Fires when a cart is marked recovered. */ do_action( 'ppl_acrw_cart_recovered', $cart_id, $data ); -
/** * Filters the number of requests a client may make to a public endpoint within * its window. Return 0 to switch the limit off. */ apply_filters( 'ppl_acrw_rate_limit', (int) $limit, (string) $bucket ); -
/** * This filter is documented below. */ apply_filters( 'ppl_acrw_render_replacements', $map, $cart, $context ); -
/** * Filters the maximum number of carts processed per abandonment sweep. */ apply_filters( 'ppl_acrw_abandon_batch_size', 100 ); -
/** * Fires after the plugin finishes activating. */ do_action( 'ppl_acrw_activated' ); -
/** * Filters the capability required to access the admin area. */ apply_filters( 'ppl_acrw_admin_capability', 'ppl_acrw_manage_carts' ); -
/** * Filters an amount converted from a shopper currency to the store base * currency, for currency switchers that use their own rates. */ apply_filters( 'ppl_acrw_amount_to_base_currency', $converted, $amount, $currency, $base ); -
/** * Fires after the capture beacon processes a request. */ do_action( 'ppl_acrw_beacon_captured', $cart_id, $contact ); -
/** * Fires before a cart and its related rows are deleted. */ do_action( 'ppl_acrw_before_cart_deleted', $cart_id ); -
/** * Fires when a recovery link is opened, before the cart is restored. */ do_action( 'ppl_acrw_before_recover', $cart, $token ); -
/** * Filters the block type registry. */ apply_filters( 'ppl_acrw_block_defaults', $defaults ); -
/** * Filters the block types offered in the builder palette. */ apply_filters( 'ppl_acrw_builder_palette_types', $types ); -
/** * Filters the label on the primary recovery button. */ apply_filters( 'ppl_acrw_button_label', __( 'Complete your order', 'recovero-cart-recovery-for-woocommerce' ) ); -
/** * Filters whether a campaign matches a cart, enabling custom segmentation * rules. */ apply_filters( 'ppl_acrw_campaign_matches', $pass, $campaign, $cart, $conditions ); -
/** * Fires after a campaign and its steps are saved. */ do_action( 'ppl_acrw_campaign_saved', $id, $data, $steps ); -
/** * Fires after steps added to a live campaign are queued for carts that were * already in its sequence. */ do_action( 'ppl_acrw_campaign_steps_backfilled', $campaign_id, $added ); -
/** * Filters the capture script configuration passed to the frontend. */ apply_filters( 'ppl_acrw_capture_config', $config ); -
/** * Filters the minimum seconds between passive capture writes for a session * during ordinary browsing. */ apply_filters( 'ppl_acrw_capture_debounce', 60 ); -
/** * Filters the public capture permission result. */ apply_filters( 'ppl_acrw_capture_permission', $allowed, $request ); -
/** * Fires after the capture service is wired up. */ do_action( 'ppl_acrw_capture_registered', $this ); -
/** * Filters the checkout field selectors used by the capture beacon. */ apply_filters( 'ppl_acrw_capture_selectors', array( 'email' => array( 'form.checkout #billing_email', '.wc-block-checkout #email', '.wc-block-checkout input[type="email"]', '#billing_email', '#billing-email' ), 'first_name' => array( '#billing-first_name', '#billing_first_name', '#shipping-first_name', '#shipping_first_name' ), 'last_name' => array( '#billing-last_name', '#billing_last_name', '#shipping-last_name', '#shipping_last_name' )... ); -
/** * Fires when a cart becomes abandoned. The queue service listens here to * schedule the recovery sequence. */ do_action( 'ppl_acrw_cart_abandoned', $cart_id, $cart ); -
/** * Fires after a cart snapshot has been persisted. */ do_action( 'ppl_acrw_cart_captured', $cart_id, $snapshot, $cart ); -
/** * Fires once per cart, the first time a shopper email is linked to it, which * is the moment the cart becomes recoverable. */ do_action( 'ppl_acrw_cart_contact_captured', $cart_id, $snapshot ); -
/** * Fires when a paid order converts a cart. */ do_action( 'ppl_acrw_cart_converted', (int) $cart->id, $order, $status ); -
/** * Filters the country resolved for a captured cart. */ apply_filters( 'ppl_acrw_cart_country', $country, $ip ); -
/** * Fires after a cart and its related rows are deleted. */ do_action( 'ppl_acrw_cart_deleted', $cart_id ); -
/** * Fires when the shopper empties a saved cart. The queue listens here and * cancels the cart's pending reminders. */ do_action( 'ppl_acrw_cart_emptied', (int) $row->id ); -
/** * Filters whether a saved cart still has something worth emailing about. */ apply_filters( 'ppl_acrw_cart_has_purchasable_items', $purchasable, $cart ); -
/** * Fires when a duplicate cart is closed in favour of another one. */ do_action( 'ppl_acrw_cart_merged', $from_id, $into_id, $reason ); -
/** * Fires after the WooCommerce cart is rebuilt from a saved cart. */ do_action( 'ppl_acrw_cart_restored', $cart, $unavailable, $reduced ); -
/** * Filters the cart snapshot before it is written. */ apply_filters( 'ppl_acrw_cart_snapshot', $snapshot, $cart, $existing ); -
/** * Fires after a bulk action runs on carts. */ do_action( 'ppl_acrw_carts_bulk_action', $action, $ids ); -
/** * Filters whether a fresh install switches Require marketing consent on. */ apply_filters( 'ppl_acrw_consent_by_default', in_array( strtoupper( $country ), $regions, true ), $country ); -
/** * Filters the order statuses that mark a cart as purchased or recovered. */ apply_filters( 'ppl_acrw_converting_order_statuses', array_values( $statuses ) ); -
/** * Filters the detected shopper language code. */ apply_filters( 'ppl_acrw_current_language', $lang ); -
/** * Filters the dashboard summary payload. */ apply_filters( 'ppl_acrw_dashboard_summary', $summary, $days ); -
/** * Fires after the plugin is deactivated. */ do_action( 'ppl_acrw_deactivated' ); -
/** * Filters the default setting values. */ apply_filters( 'ppl_acrw_default_settings', $defaults ); -
/** * Filters the background colour of the email canvas. */ apply_filters( 'ppl_acrw_email_bg', '#f3f4f6', $template ); -
/** * Filters whether an email address is excluded from cart capture and recovery * emails. */ apply_filters( 'ppl_acrw_email_excluded', $excluded, $email ); -
/** * Filters the logo URL shown in the email header. */ apply_filters( 'ppl_acrw_email_logo_url', (string) $this->settings->get( 'email_logo_url' ), $cart ); -
/** * Fires after a recovery event is recorded. */ do_action( 'ppl_acrw_event_recorded', $type, $data, $id ); -
/** * Filters the locale resolved from a language slug. */ apply_filters( 'ppl_acrw_language_locale', $locale, $language ); -
/** * Filters the languages offered for templates and campaign conditions. */ apply_filters( 'ppl_acrw_languages', $languages ); -
/** * Fires after all plugin services are registered. */ do_action( 'ppl_acrw_loaded', $c ); -
/** * Filters whether a log line is written. */ apply_filters( 'ppl_acrw_logging_enabled', true, $level, $message ); -
/** * Filters the outgoing email arguments right before send. */ apply_filters( 'ppl_acrw_mail_args', array( 'to' => $cart->email, 'subject' => $subject, 'body' => $body, 'headers' => $headers, ), $cart, $step ); -
/** * Filters the recovery email headers. */ apply_filters( 'ppl_acrw_mail_headers', $headers, $cart ); -
/** * Filters the campaign matched for a cart. */ apply_filters( 'ppl_acrw_matched_campaign', $campaign, $cart ); -
/** * Filters the maximum send attempts before a message is marked failed. */ apply_filters( 'ppl_acrw_max_send_attempts', 4 ); -
/** * Filters the merge tags exposed in the editor and supported at render. */ apply_filters( 'ppl_acrw_merge_tags', $tags ); -
/** * Filters how soon after sending a pixel request is treated as a prefetch * rather than a genuine open, in seconds. Return 0 to count every request. */ apply_filters( 'ppl_acrw_open_prefetch_window', 30, $row ); -
/** * Lets other components handle the order to cart linkage, for example the * recovery service which attributes recovered revenue. */ do_action( 'ppl_acrw_order_created_for_cart', $cart, $order ); -
/** * Filters how long an unpaid order holds the cart's reminders, in seconds. * After this the payment is treated as abandoned and reminders go out. */ apply_filters( 'ppl_acrw_pending_payment_grace', HOUR_IN_SECONDS, $cart ); -
/** * Filters the maximum messages attempted in one request. */ apply_filters( 'ppl_acrw_queue_batch_size', $chunk ); -
/** * Filters the client identifier used for rate limiting, for example to read a * trusted proxy header on a site behind a load balancer. */ apply_filters( 'ppl_acrw_rate_limit_client', $ip ); -
/** * This action is documented in * includes/recovery/class-ppl-acrw-recovery-service.php */ do_action( 'ppl_acrw_reconcile_order', $paid_order ); -
/** * Filters the redirect destination after a cart is restored. */ apply_filters( 'ppl_acrw_recover_redirect', $destination, $cart ); -
/** * Filters the recovery URL placed in emails. */ apply_filters( 'ppl_acrw_recovery_url', $url, $cart ); -
/** * Filters the fully rendered email HTML before sending. */ apply_filters( 'ppl_acrw_rendered_email', $html, $template, $cart, $context ); -
/** * Fires after the plugin registers its REST routes, letting add ons register * additional routes in the same namespace. */ do_action( 'ppl_acrw_rest_routes', $this ); -
/** * Filters the restorable cart contents stored on the snapshot. */ apply_filters( 'ppl_acrw_restorable_contents', $contents, $cart ); -
/** * Filters the extra cart item data saved with a line for restoring. */ apply_filters( 'ppl_acrw_restorable_item_data', $extra, $item ); -
/** * Filters the extra cart item data (product add ons, bundles, personalisation) * passed back to WooCommerce for a restored line. */ apply_filters( 'ppl_acrw_restore_item_data', $item_data, $line, $cart ); -
/** * Filters the list of dates recomputed by the stats rollup. */ apply_filters( 'ppl_acrw_rollup_days', $days ); -
/** * Filters the sanitized settings before they are merged and stored. */ apply_filters( 'ppl_acrw_sanitized_settings', $clean, $values ); -
/** * Fires after default templates and the starter campaign are seeded. */ do_action( 'ppl_acrw_seeded' ); -
/** * Fires after a recovery sequence is scheduled for a cart. */ do_action( 'ppl_acrw_sequence_scheduled', $cart_id, $campaign, $steps ); -
/** * Filters the list of service ids booted by the plugin. Add ids for services * registered on the container via the container itself. */ apply_filters( 'ppl_acrw_services', array_keys( $services ), $c ); -
/** * Fires when a converted cart releases its session key so the shopper's next * cart can be captured. */ do_action( 'ppl_acrw_session_released', (int) $existing->id ); -
/** * Filters a single plugin setting value. */ apply_filters( 'ppl_acrw_setting', $value, $key ); -
/** * Fires after settings are saved. */ do_action( 'ppl_acrw_settings_updated', $merged, $values ); -
/** * Filters whether the current request should capture the cart. */ apply_filters( 'ppl_acrw_should_capture', true ); -
/** * Short circuits a send. Return false to cancel this row without sending, for * example from a custom suppression list. */ apply_filters( 'ppl_acrw_should_send', true, $cart, $step ); -
/** * Filters how many minutes a pending job may be overdue before the scheduler * is treated as stalled. */ apply_filters( 'ppl_acrw_stalled_threshold_minutes', 15 ); -
/** * Filters the starter templates installed on activation. Add or modify * templates here to ship custom designs. */ apply_filters( 'ppl_acrw_starter_templates', $templates ); -
/** * Fires after the daily stats rollup completes. */ do_action( 'ppl_acrw_stats_rolled_up', $days ); -
/** * Filters the computed delay in seconds for a step. */ apply_filters( 'ppl_acrw_step_delay_seconds', $seconds, $step ); -
/** * Fires after the plugin switches the active language. */ do_action( 'ppl_acrw_switched_language', $language ); -
/** * Filters the allowed HTML for template bodies. */ apply_filters( 'ppl_acrw_template_allowed_html', $allowed ); -
/** * Fires after a template is saved. */ do_action( 'ppl_acrw_template_saved', $id, $data ); -
/** * Filters the order statuses that leave a cart open (or reopen it). */ apply_filters( 'ppl_acrw_unpaid_order_statuses', array( 'pending', 'failed', 'cancelled', 'refunded', 'checkout-draft', 'draft', 'auto-draft', 'trash' ) ); -
/** * Filters the unsubscribe confirmation message. */ apply_filters( 'ppl_acrw_unsubscribe_message', $message ); -
/** * Filters the unsubscribe URL placed in emails. */ apply_filters( 'ppl_acrw_unsubscribe_url', $url, $cart ); -
/** * Fires after a shopper unsubscribes, once for each of their carts. */ do_action( 'ppl_acrw_unsubscribed', (int) $id ); -
/** * Filters the current language code. Provided by WPML. */ apply_filters( 'wpml_current_language', null ); -
/** * Filters the locale for a language code. Provided by WPML. */ apply_filters( 'wpml_locale', '', $language ); -
/** * Switches the active language. Provided by WPML. */ do_action( 'wpml_switch_language', $language ); -
apply_filters( 'ppl_acrw_load_capture_script', $load ); -
apply_filters( 'wcml_raw_price_amount', 1.0, $currency ); -
apply_filters( 'wpml_active_languages', null, array( 'skip_missing' => 0 ) );
Generated from Recovero's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: