Searched all day, can't seem to find an answer. I've tried similar function snippets hoping to alter them since I'm not a coder, but none of them have worked.
I need to hide the "professional" category of products from all but the wholesale customer role. Looking to add a filter to functions, not in a template.
Thanks for any help!