Implement the Notification Repository #42
Labels
[Scope] Database / Persistence
Issue related to storing data. To WP database or another location.
[Type] Feature
Describe a feature to be added to the project
The Repository will allow to query, store or update the notifications status: https://github.com/WordPress/wp-notify/blob/develop/includes/persistence/class-wp-notify-wpdb-notification-repository.php
It should be configured with a connection to an actual persistence mechanism (like a MariaDB database) but be decoupled from it.
A tutorial about how to implement a Repository using WordPress queries: https://carlalexander.ca/designing-class-manage-wordpress-posts/
The text was updated successfully, but these errors were encountered: