
內容簡介
Push Notifications for Trigv 外掛可讓使用者選擇 WordPress 事件作為觸發器,並透過 Trigv API 發送推播通知。此外掛在背景中非同步運行,確保網站效能不受影響。
【主要功能】
• 支援自定義 WordPress 事件觸發器
• 可設定推播通知的頻道與層級
• 提供開發者 API 進行自定義擴展
• 可透過 do_action 發送自定義通知
• 支援多種通知內容選項
外掛標籤
開發者團隊
② 後台搜尋「Push Notifications for Trigv」→ 直接安裝(推薦)
原文外掛簡介
Trigv watches the WordPress events (Triggers) you choose and dispatches them as
push notifications through the Trigv API. Dispatch happens asynchronously in the
background, with retries, so your site stays fast.
Pick from a curated catalog of WordPress Triggers.
Map each Trigger to a Trigv channel and level, with an optional custom title/description template.
Fire your own notifications from code with do_action( 'trigv_send', $args ).
Shape or veto any notification with the trigv_dispatch_args and trigv_pre_dispatch filters.
Add-ons can register more Triggers via the trigv_triggers filter.
Developer API
Full developer guide (custom Triggers, filters, REST API, examples): DEVELOPER.md
Configuration
Set the API key on the Trigv admin screen, or define it in wp-config.php:
define( 'TRIGV_API_KEY', 'trgv_xxxx_yyyy' );
External services
This plugin connects to Trigv, a third-party push-notification service, to deliver the WordPress events you choose as notifications on your devices.
When a Trigger you have enabled fires — or you send a test notification, or you call do_action( 'trigv_send', ... ) — the plugin sends an HTTPS request to the Trigv API at https://api.trigv.com. Each request includes:
the notification channel, title, and (optionally) description, level, event type, delivery urgency, image URL, and an idempotency key;
your Trigv API key, sent as an Authorization request header;
a User-Agent request header identifying the plugin and its version.
No data is sent until you enter a Trigv API key and enable at least one Trigger (or trigger a manual/test send). Trigv stores only event metadata such as timestamps, delivery status, and usage counts; notification content is delivered to your devices and is not retained on Trigv servers.
Service provider: Webtions OÜ (dba Trigv).
Terms of Service: https://trigv.com/terms
Privacy Policy: https://trigv.com/legal/privacy-policy
