manifest / integrations / wp-kosmos-notifications
KosmOS Notifications REST Helper
Mini WordPress plugin to provide a REST endpoint for KosmOS notifications
★ 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/kosmos-pi/wp-kosmos-notifications/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.
A mini WordPress plugin to provide a REST endpoint for KosmOS notifications.
Installation
- Put php script in
wp-content/plugins/kosmos-notifications/kosmos-notifications.php - Create a Category with slug
news - Using ACF create a Field Group attached to the
newscategory- notify_users (true/false),
- start_date (date),
- end_date (date),
- priority (select low/normal/high)
- notification_text (text)
- notification_link (URL, optional)
- Ensure all fields have Show in REST API set.