Push notifications
Developer reference for wallet push delivery via EPC_Pass_Notifications and EPC_Api_Client::send_pass_push().
API endpoint
HTTP
POST {api_base}/send-pass-notification/{passUuid}
Content-Type: application/json
X-Api-Key: {key}
X-Request-Origin: {site origin}
{ "message": "Title\n\nBody" }
PHP API
PHP
EPC_Api_Client::send_pass_push( $pass_uid, $title, $message ); EPC_Pass_Notifications::send_for_pass( $pass_row, $title, $message ); EPC_Pass_Notifications::maybe_send_for_event( $pass_row, $type, $rule, $event_ts, $replacements );
Integration patterns
| Module | Trigger |
|---|---|
| MemberPress | mepr-reminder-* hooks |
| WooCommerce Subscriptions | woocommerce_scheduled_subscription_customer_notification_* |
| Ultimate Membership Pro | Daily cron — before_level_expire |
| Paid Memberships Pro | Daily cron — before_level_expire |
| Simple Membership | Daily cron — before_level_expire |
| Event Tickets | Daily cron — before_event_start |
| Events Manager | Daily cron — before_event_start |
| PW Gift Cards | Daily cron — before_card_expire |
| YITH Gift Cards | Daily cron — before_card_expire |
Cron modules implement process_scheduled_notifications() and run via epc_pass_notifications_event.
Hooks
| Hook | Type |
|---|---|
epc_pass_push_title | filter |
epc_pass_push_message | filter |
epc_send_push_notification_url | filter |
epc_send_push_notification_body | filter |
Storage
Rules: epc_{module}_notification_rules option. Dedupe: epc_passes.meta JSON key notifications_sent.
User guide: Push notifications (user)