Automattic\WooCommerce\Internal\Admin\Settings

PaymentProviders::get_order_map()publicWC 1.0

Get the payment providers order map.

Метод класса: PaymentProviders{}

Хуков нет.

Возвращает

Массив. The payment providers order map.

Использование

$PaymentProviders = new PaymentProviders();
$PaymentProviders->get_order_map(): array;

Код PaymentProviders::get_order_map() WC 9.6.1

public function get_order_map(): array {
	// This will also handle backwards compatibility.
	return $this->enhance_order_map( get_option( self::PROVIDERS_ORDER_OPTION, array() ) );
}