Hi there!
I have some code in a snippet that works on vat:
add_filter( 'woocommerce_adjust_non_base_location_prices', '__return_false' );
I would like to exempt b2b users.
So what I am looking for is wrapping this code in an if statement, that excludes b2b group, such as:
if ($b2bking_b2buser = false) {
add_filter( 'woocommerce_adjust_non_base_location_prices', '__return_false' );
}
What is the correct syntax for detecting if current user is a member of b2b users?
Cheers