Automattic\WooCommerce\Internal\POS

POSPreset::get_allpublic staticWC 11.0.0

All assignable presets, in ascending capability order.

Method of the class: POSPreset{}

No Hooks.

Returns

String[].

Usage

$result = POSPreset::get_all(): array;

Changelog

Since 11.0.0 Introduced.

POSPreset::get_all() code WC 11.0.0

public static function get_all(): array {
	return array(
		self::CASHIER,
		self::MANAGER,
		self::ADMIN,
	);
}