woocommerce_customer_has_capability()
Deprecated since 3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
No Hooks.
Returns
Array.
Usage
woocommerce_customer_has_capability( $allcaps, $caps, $args );
- $allcaps(required)
- .
- $caps(required)
- .
- $args(required)
- .
Changelog
| Deprecated since | 3.0 |
woocommerce_customer_has_capability() woocommerce customer has capability code WC 10.7.0
function woocommerce_customer_has_capability( $allcaps, $caps, $args ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_customer_has_capability' );
return wc_customer_has_capability( $allcaps, $caps, $args );
}