Thank, but the article you provided was talking about removing ‘CANCEL’ option in the edit menu but what I want to do is:
Removing ‘PRIMARY PROFILE BUTTON'(when you are in your profile and click on the gear icon and select edit) you will see a BLUE button at the bottom of the profile page which allows you to save the changes,I want to remove this button.
please take a look at this picture.
I WANT TO REMOVE THIS SAVE BUTTON.CLICK HERE TO SEE PICTURE
I will appreciate any help in advance.
Ahh. I see. The button is used for submitting the form. I can come up with a way to have it removed but I have a question. How will the users be able to submit their changes after the are ready to save the changes?
Thank you.
you see, once the user is in edit mode the ”GEAR ICON” will change to a ”TICK ✔️” and by clicking on the ”✔️” they will be able to save the changes they made.
please look at the picture below.
LOOK AT THIS PICTURE
Ok, I see.
You can add this snippet and it will stop the Cancel and Submit button from showing
function sp_hide_profile_action() {
remove_action( 'um_after_profile_fields', 'um_add_submit_button_to_profile', 1000 );
}
add_action( 'init', 'sp_hide_profile_action' );
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Side note @suiteplugins I’ve flagged your account temporarily and archived your replies. Please do not use these forums to send people to your site for articles. That’s not what these forums are for and I have removed all of your links.
Please keeps support in these forums and not to your site. That can be misconstrued as spamming and I am sure that is not your intention.
What are you talking about?
Sending people to my side!
First of all the links in my reply is not to my website it is a picture to demonstrate the situation.
Secondly you should do your research before making a judgement and flag my account.
Like I have said the link is a picture to demonstrate the situation, what website and articles are you talking about?
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
@bobakras Why are you reporting those topics? I was clearly replying to suiteplugins.
Suiteplugins was spamming the forums. That’s not allowed and as I wrote “Please keeps support in these forums and not to your site. That can be misconstrued as spamming and I am sure that is not your intention.”
I didn’t flag your account. Read what I actually wrote and to who.