LLMS_Abstract_Notification_Controller::get_subscribers_settings( string $type )
Get an array of saved subscriber settings prefilled with defaults for the current notification
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_subscribers_settings( $type ) { $defaults = wp_list_pluck( $this->get_subscriber_options( $type ), 'enabled', 'id' ); return $this->get_option( $type . '_subscribers', $defaults ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |