APP_User_Notification
Class that provides user notifications Notifications are stored as user meta
Package
Description Description
Methods Methods
- __construct — Sets up the notification object
- __get — Retrieve data from inaccessible properties
- delete_meta — Deletes the notification meta (always checks for prev data to delete the correct notification)
- get_data — Retrieve specific or all notitications data
- get_id — Retrieves the notification ID
- get_recipient_ID — Retrieves the notification recipient ID
- send — Sends a notification to the user (stores the notification as user meta)
- send_email — Notifies the message recipient by email
- set_status — Sets the notification status meta value
- update_meta — Updates the notification meta