ANON_MAILCHIMP_CONTACT_ADDED::get_trigger_option_fields()

The set_options_callback method callback function.

Contents


Return Return

(array) the list of option group.


Source Source

File: src/integrations/mailchimp/triggers/anon-mailchimp-contact-added.php

	public function get_trigger_option_fields() {
		return array(
			'options_group' => array(
				$this->get_trigger_meta() => array(
					Automator()->helpers->recipe->mailchimp->options->get_all_lists(
						esc_html__( 'Audience', 'uncanny-automator' ),
						$this->get_trigger_meta(),
						array(
							'has_any' => true,
						)
					),
				),
			),
		);
	}