About this plugin
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.
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.
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 ).
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.