automatewoo/includes/Permissions.php
fei-source 47d3c9a8b6 Update to v6.2.2
Source: GrootMade/Festinger Vault
2026-03-15 08:31:15 +08:00

20 lines
292 B
PHP

<?php
namespace AutomateWoo;
/**
* Class Permissions.
*
* @since 4.9.0
*/
final class Permissions {
/**
* Can the current user manage WooCommerce & AutomateWoo.
*
* @return bool
*/
public static function can_manage() {
return current_user_can( 'manage_woocommerce' );
}
}