How to hide "Edit Profile" from user's profile page settings
Users have default settings to edit their profile from UM Profile Page. If you do not want users to edit their profile, you can hide the "Edit Profile" from the settings menu.
To hide the "Edit Profile" from the drop-down menu, you need to use the custom code below: