[WordPress] 外掛分享: 4WP Notifications

首頁外掛目錄 › 4WP Notifications
WordPress 外掛 4WP Notifications 的封面圖片
全新外掛
安裝啟用
尚無評分
28 天前
最後更新
問題解決
WordPress 6.4+ PHP 7.4+ v1.2.0 上架:2026-06-18

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「4WP Notifications」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

4WP Notifications delivers a unified in-app notification inbox for logged-in WordPress users: a header bell with unread badge, a full notifications page, optional WooCommerce order alerts, and tools for developers to fire notifications from custom code.
A plugin by 4wp.dev. 4WP is our project brand; the letters “WP” appear only as part of that brand name, not as a reference to WordPress. This plugin is not affiliated with, endorsed, or sponsored by WordPress.
Source code: github.com/4wpdev/4wp-notifications
Key features

Notifications Bell block — dropdown with unread count; add inside a Navigation block (header menu)
Notifications List block — full inbox page with mark read/unread and live polling
Shortcodes — [forwp_notifications_bell] and [forwp_notifications] for classic themes
Direct notifications — admins broadcast to roles and/or individual users
WooCommerce — optional alerts for new orders and status changes
Developer hooks — forwp_notification_event / 4wp_notification_event from PHP
REST API — list, unread count, mark read/unread, and send notifications (authenticated)

Privacy
Notifications are stored in your WordPress database and shown only to the logged-in recipient. Read endpoints require an authenticated user session. Send endpoints require administrator capability (default: manage_options). No data is sent to 4wp.dev.
Development
Human-readable PHP source is in the public GitHub repository above. No npm build step — block editor scripts ship as plain JS in assets/blocks/.
Run tests: composer install && composer test && composer run lint
Blocks
This plugin provides 2 blocks.

4WP Notifications Bell (forwp/notifications-bell) — bell icon and recent notifications dropdown (Navigation child block).
4WP Notifications List (forwp/notifications) — full notification list for a page.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon