• Resolved Ruman

    (@rumaneee)


    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 role Customer 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 function getAllRegisteredWholesaleRoles() it works well.

    So, How do I resolve this from theme function?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Fauzan Azizie

    (@fauzanade)

    Hi @rumaneee,

    I’m afraid you should not edit the wwp_registered_wholesale_roles custom meta directly as you can only add a new custom role on via our plugin.

    May I know why do you need to add WooCommerce’s Customer role on it?

    Plugin Author Josh Kohlbach

    (@jkohlbach)

    Hi Ruman,

    Just closing off this forum post for now, please come back to us if this is still an issue or if you’re able to provide more details bout what you’re actually trying to accomplish we’ll gladly help you out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wwp_registered_wholesale_roles filter doesn’t work’ is closed to new replies.