The free plugin exposes a set of stable filters and actions that add-ons — including CartBay Pro — hook to extend behavior without modifying core services. These are the seams Pro consumes.
Filters:
Filter
Purpose
cartbay_email_coupon
Override the coupon code/context injected into a recovery email.
cartbay_offers_coupon_notice_relevant
Toggle whether the free coupon-configuration notices render on the CartBay settings screens. Return false to suppress them (e.g. an add-on that supplies its own coupons and ignores the static code).
cartbay_overview_metric_cards
Add or modify Overview dashboard metric cards.
cartbay_settings_section_pre_fields
Inject fields before a settings section renders.
cartbay_wizard_steps
Add or reorder setup-wizard steps (e.g. Pro’s License step).
Actions:
Action
Purpose
cartbay_loaded
Fires after the free plugin finishes bootstrapping; the primary attach point for add-ons.
cartbay_session_event
Fires on each session lifecycle event (session_id, event, data).
cartbay_restore_apply_discounts
Fires during cart restore so add-ons can apply discounts/coupons.
cartbay_notification_state_changed
Fires when a notification transitions state.
cartbay_overview_after_table_actions
Render extra actions after the Overview table.
cartbay_notifications_after_summary
Render extra content after the Notifications summary.