An open API service indexing awesome lists of open source software.

https://github.com/hugopoi/wp-notification-store

Notification Store Addon for Wordpress Notification plugin by Kubitomakita
https://github.com/hugopoi/wp-notification-store

notifications-plugin wordpress-plugin

Last synced: over 1 year ago
JSON representation

Notification Store Addon for Wordpress Notification plugin by Kubitomakita

Awesome Lists containing this project

README

          

# Notification : Store

This is public repository for Notification : Store - the WordPress plugin.

This plugin allows to store notification in database sent by Notification plugin.

## Features

* Store notification with custom post type `notification_stored`
* Can store an alternative message in custom post content
* Option to disable sending notification and only store them
* Use `WP_Query` to display notifications
* Mark them read with set `post_status` pending -> publish

## Requirements

* THIS PLUGIN REQUIRE [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/)

## Usage

```
'notification_stored',
'post_status' => array('pending', 'publish'), // For displaying unread
and read notifications
'author' => get_current_user_id(),
'posts_per_page' => -1
)); ?>
have_posts()): $notifications->the_post(); ?>








```

---

* [Notification plugin](https://github.com/Kubitomakita/Notification)
* [WordPress readme](https://github.com/HugoPoi/wp-notification-store/blob/master/readme.txt)