LLMS_Abstract_Notification_Controller::get_subscriber_options( string $type )
Retrieve get an array of subscriber options for the current notification by type
Parameters Parameters
- $type
-
(string) (Required) Notification type [basic|email].
Return Return
(array)
Source Source
File: includes/abstracts/llms.abstract.notification.controller.php
public function get_subscriber_options( $type ) {
/**
* Filters the subscriber options
*
* The dynamic portion of this filter, `$this->id`, refers to the notification trigger identifier.
*
* @param array An array of subscriber options for this notification.
* @param string The notification type [basic|email].
* @param LLMS_Abstract_Notification_Controller The notification controller instance.
*/
return apply_filters( "llms_notification_{$this->id}_subscriber_options", $this->set_subscriber_options( $type ), $type, $this );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.8.0 | Introduced. |