Automattic\WooCommerce\Internal\POS
POSPreset::get_all
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() POSPreset::get all code WC 11.0.0
public static function get_all(): array {
return array(
self::CASHIER,
self::MANAGER,
self::ADMIN,
);
}