UM_USERREGISTER::load_options()

Contents


Return Return

(array[])


Source Source

File: src/integrations/ultimate-member/triggers/um-userregister.php

	public function load_options() {
		$options            = Automator()->helpers->recipe->ultimate_member->options->get_um_forms( esc_attr__( 'Form', 'uncanny-automator' ) );
		$options['options'] = array( '-1' => esc_attr__( 'Any form', 'uncanny-automator' ) ) + $options['options'];
		return Automator()->utilities->keep_order_of_options(
			array(
				'options' => array(
					$options,
				),
			)
		);
	}