LLMS_Abstract_Notification_Controller::send_test( string $type, array $data = array() )
Send a test notification to the currently logged in users
Description Description
Extending classes should redefine this in order to properly setup the controller with post_id and user_id data.
Parameters Parameters
- $type
-
(string) (Required) Notification type [basic|email]
- $data
-
(array) (Optional) Array of test notification data as specified by $this->get_test_data(). Defalt is empty array.
Default value: array()
Return Return
(int|false)
Source Source
File: includes/abstracts/llms.abstract.notification.controller.php
* @param array $data Optional. Array of test notification data as specified by $this->get_test_data(). Defalt is empty array. * @return int|false */
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.24.0 | Introduced. |