WP Manifestindependent plugin directory
manifest / integrations / wp-kosmos-notifications

KosmOS Notifications REST Helper

Mini WordPress plugin to provide a REST endpoint for KosmOS notifications

by kosmos-pi · github.com/kosmos-pi/wp-kosmos-notifications

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/kosmos-pi/wp-kosmos-notifications/archive/refs/heads/main.zip

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.