Another way to go about this in Moodle 3.5+ is to go into the label and in the admin block click permissions. Remove the "authenticated user" (and any other roles) until only the 'Guest' role is left.
Re: How to show a label to a not logged user and hide it from a logged user
by John Provasnik -
Number of replies: 0