-
Author
-
July 19, 2015 at 10:01 #68915hmaParticipant
Hello,
I would like to remove the public button : ” send public message” on the profile…
How can I make this ?
Is there a specific line of code I could put in child theme ?
This would be the easiest for me .
Best regards,
HervéJuly 19, 2015 at 14:34 #68933sharmstrModeratorPlease search before posting. There is info on the buddypress forum on how to do this.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
July 19, 2015 at 16:20 #68958hmaParticipantHello,
thank ,you. I did research and tried to put this lines :COPY CODEfunction remove_public_message_button() { remove_filter( ‘bp_member_header_actions’,’bp_send_public_message_button’, 20);
}
add_action( ‘bp_member_header_actions’, ‘remove_public_message_button’ );in a bp-custom in Plugins file, as I have found in forums but site was blank !
So I thought I shouls ask experts befgore playins more with black magic;-)
What did I miss ?
Best regards,
HervéJuly 19, 2015 at 16:37 #68960sharmstrModeratorNext time, please indicate that you tried code. It will speed up this whole process. Your code has fancy quotes. Common mistake. They even mention it here: https://buddypress.org/support/topic/remove-public-message-button-in-child-theme/#post-164097
The experts in this case are the buddypress developers since its their plugin 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.