4WP Notifications

4WP Notifications

By 4wpdev
Details
View on WordPress

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 hooksforwp_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.

Details

Plugin code:
4wp-notifications
Plugin version:
1.2.0
Author:
Outdated:
No
WP version:
6.4 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.0
Total installations:
0
Last updated:
2026-06-19
Rating:
Times rated:
0
bell
gutenberg
inbox
notifications
woocommerce