wwp_registered_wholesale_roles filter doesn’t work
-
Hi,
If I want to change the role list or modify the wholesale roles like from the filter says:
wwp_registered_wholesale_roles
it doesn’t seems working. My goal is to include also the WooCommerce Default roleCustomer
in the list and utilize that role in the Premium version of this plugin. But when tried to use this filter and return with the updated data, it does not reflect on the backend. But if I directly write into the plugin file functiongetAllRegisteredWholesaleRoles()
it works well.So, How do I resolve this from theme function?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wwp_registered_wholesale_roles filter doesn’t work’ is closed to new replies.