Use default priority for user_has_cap filter
This commit is contained in:
parent
7ec8a687f6
commit
0a7137e747
|
@ -313,4 +313,4 @@ function woocommerce_customer_has_capability( $allcaps, $caps, $args ) {
|
|||
}
|
||||
return $allcaps;
|
||||
}
|
||||
add_filter( 'user_has_cap', 'woocommerce_customer_has_capability', 11, 3);
|
||||
add_filter( 'user_has_cap', 'woocommerce_customer_has_capability', 10, 3);
|
Loading…
Reference in New Issue