WC_VIEWPRODUCT::load_options()


Return Return

(array)


Source Source

File: src/integrations/woocommerce/triggers/wc-viewproduct.php

	public function load_options() {
		Automator()->helpers->recipe->woocommerce->options->load_options = true;

		$options = array(
			'options' => array(
				Automator()->helpers->recipe->woocommerce->options->all_wc_products(),
				Automator()->helpers->recipe->options->number_of_times(),
			),
		);

		return Automator()->utilities->keep_order_of_options( $options );
	}