Hi @ditout,
I’m not sure what profile page are you referring to.
The Ultimate member core has User and Account pages, however, you can rename the User page to any name you want.
The User page is a public profile and the Account page was created as a private page with user settings.
Please check this doc for additional info.
Getting Started with Ultimate Member
Regards.
I have exactly the same question. I understand that profile is something that is intended for other users to see, but why there’s an “Edit Profile” option? What’s the purpose of it and how does it differ from the purpose of the Account page?
Can I easily disable the “Edit profile”? I find it confusing.
Hi @matt_fw
The profile form has a form builder to add more fields. The account form has all the settings and other user preferences.
To disable the “Edit Profile” link, you can try the following code snippet:
add_filter("um_profile_edit_menu_items","um_030422_edit_profile_menu_items");
add_filter("um_myprofile_edit_menu_items","um_030422_edit_profile_menu_items");
function um_030422_edit_profile_menu_items( $items ){
if( um_is_core_page("user") ){
unset( $items['editprofile'] );
}
return $items;
}
You can add the code to your theme/child-theme or use the Code Snippet plugin to run the code.