Deploy Ladill Woo Manager / deploy (push) Successful in 2m11s
New order, store connected, Pro expiry, and past-due alerts use the Ladill notification layout with woo branding; expiry reminders dedupe per threshold like hosting. Co-authored-by: Cursor <cursoragent@cursor.com>
41 lines
1.3 KiB
PHP
41 lines
1.3 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| FCM push (legacy Mini scaffolding)
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
'fcm_active_user_within_days' => (int) env('NOTIFICATIONS_FCM_ACTIVE_USER_DAYS', 60),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Woo Manager Pro — days before period end to send one-time reminder emails
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
'pro_expiry_milestones' => array_values(array_map(
|
|
'intval',
|
|
explode(',', (string) env('WOO_PRO_EXPIRY_MILESTONES', '7,3,1'))
|
|
)),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Woo Manager notification events
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| milestone keys are stored on in-app notifications for filtering/history.
|
|
|
|
|
*/
|
|
|
|
'woo_events' => [
|
|
'order_received' => ['mail' => true, 'database' => true],
|
|
'store_connected' => ['mail' => true, 'database' => true],
|
|
'pro_expiring' => ['mail' => true, 'database' => true],
|
|
'pro_past_due' => ['mail' => true, 'database' => true],
|
|
],
|
|
|
|
];
|