I have made a public account in wordpress which I will send to 100 users.
So the login would be:
Username: public
Password: 123example
The only thing I want is to hide the profile page for this specific user account so they can’t change password, emailadress, etc.
How to achieve this? Maybe change some php?
this script cover all the aspects of the question, read the code comments for further explanation.