Automattic\WooCommerce\Internal\POS

POSPreset::get_all │ public static │ WC 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.1.2

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