APP_User_Notification::send( string $message, string $type = 'notification', array $meta = array(), array $params = array() )

Sends a notification to the user (stores the notification as user meta)


Package


Description Description


Parameters Parameters

$message

(string) (Required) The notification message

$type

(string) (Optional) (optional) The notification type

Default value: 'notification'

$meta

(array) (Optional) (optional) Additional notification meta

Default value: array()

$params

(array) (Optional) (optional) Notification params. Available options: 'send_mail'

Default value: array()


Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.