• Pretty good idea, works well with a multi role setup.
    I would just suggest adding a filter on the roles in order to make the list customizable.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author DBAR Productions


    Thanks for the review!

    This is a brand new, simple plugin, since someone who was using my Wholesale Ordering and User Role Pricing plugins asked about showing WooCommerce sales reports based on role.

    I’m always open to suggestions and feature requests. What kind of filter are you meaning? Did you just mean a filter on the list of roles that are shown in my plugin’s select box so that you can modify which roles are shown on that page? If so, that is essentially already in place since my plugin uses the WordPress function: get_editable_roles()
    That function already has an output filter in place, so you could tap into that if you want to remove some of the roles that are shown in my plugin’s select box (probably want to do a conditional check to make sure you are on the WooCommerce reports page so you don’t filter those roles for other plugins that may also use that function).

    Thread Starter Michael


    I’m using another setup for wholesale, but this applies perfectly.
    I guess anyone using using multiple role will enjoy this simple plugin.

    Yes you’re right, by adding a condition on the existing filter editable_roles, this will do.
    I didn’t see it at first after consulting the codex, but next time I’ll open the source before posting 🙂

    Plugin Author DBAR Productions


    No problems… just wanted to make sure I understood what you were looking for.

    Thanks again for the review!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Very Good Idea’ is closed to new replies.