I want to use the slideout menu for collaborators only. This makes it easy for me to work on pages without them being visible to the general public.
So, could you write me a little PHP snippet like you did for the shopping cart?
I want the hamburger menu icon (slideout menu trigger) to be visible only to logged-in users of WP role “collaborator”.