Function wc_customer_has_capability
Checks if a user has a certain capability
Parameters summary
array |
$allcaps |
|
array |
$caps |
|
array |
$args |
Return value summary
boolean
|
Checks if a user has a certain capability
array |
$allcaps |
|
array |
$caps |
|
array |
$args |
boolean
|