LLMS_Abstract_Notification_Controller::get_subscribers_settings( string $type )

Get an array of saved subscriber settings prefilled with defaults for the current notification


Description Description


Parameters Parameters

$type

(string) (Required) notification type


Top ↑

Return Return

(array)


Top ↑

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 );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.8.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: