How to make profile private

Hi, I noticed on someone’s profile that it said: “This user’s public profile is hidden.”. Does anyone know how I can enable this settings to hide my profile from the public?

I have found out how to do it, you need to:

  1. Go to preferences
  2. Go to ‘Interface’
  3. Under ‘Other’, enable ‘Hide my public profile and presence features’