woocommerce_customer_has_capability()
Deprecated from version 3.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
No Hooks.
Return
null
. Nothing (null).
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 9.6.1
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 ); }