manifest / integrations / luna-notification
Luna Notifications
زیرساخت مستقل اعلانهای Push، دستگاهها، یادآوری رزرو و مرکز ارسال لونا.
★ 0stars
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/updesire/luna-notification/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
زیرساخت مستقل Push، مدیریت دستگاهها، VAPID، صف ارسال و تاریخچه اعلان است.
قرارداد عمومی
مصرفکنندهها باید از Luna_Notifications_API استفاده کنند:
send_to_user($user_id, $payload)send_to_specialist($specialist_id, $payload)has_active_device($user_id)public_key()diagnostics()
اتصال به Luna Appointments اختیاری و فقط از طریق Luna_Appointments_API و
رویدادهای عمومی luna_appointments_* انجام میشود. این افزونه هیچ وابستگی
مستقیمی به Luna Builder ندارد.
نام optionها، user metaها، Hookهای زمانبندیشده و جدول تاریخچه قبلی حفظ شدهاند؛ بنابراین ارتقا باعث حذف کلید VAPID یا اشتراک دستگاههای موجود نمیشود.