i am building a site where i need to restrict category & tag content from my woocommerce by user roles. this is now working, however, the user still sees all of the categories on the page. i need a way to hide the categories that they are not permitted to see. it sounds like your code my suite my needs in this case??