MYCRED_AWARDRANK_A::load_options()

Contents


Return Return

(array[])


Source Source

File: src/integrations/mycred/actions/mycred-awardrank-a.php

	public function load_options() {
		return Automator()->utilities->keep_order_of_options(
			array(
				'options'       => array(),
				'options_group' => array(
					$this->action_meta => array(
						/* translators: Noun */
						Automator()->helpers->recipe->mycred->options->list_mycred_rank_types(
							esc_attr__( 'Rank', 'uncanny-automator' ),
							$this->action_meta,
							array(
								'token'        => false,
								'is_ajax'      => true,
								'target_field' => $this->action_meta,
							)
						),
					),
				),
			)
		);
	}