The woocs_capability_allows_change_order filter sets which WordPress capability is required to change the currency data of an order in wp-admin.
By default it is manage_options, which in practice means an administrator. On shops where order management is handled by staff who are not administrators — a shop manager, an accountant, a support role — that default blocks exactly the people who need it.
add_filter('woocs_capability_allows_change_order', function ($capability) {
return 'edit_shop_orders'; // WooCommerce shop managers
});
Parameters:
$capability (string) - manage_options by default
Returns:
- (string) the capability a user must have
Note: this only relaxes the capability check, not the nonce check — the request is still verified. Do not widen it to a capability that ordinary customers hold.