Put in your functions.php , or use Code Snippets plugin to add it.
add_filter( 'bp_get_send_public_message_button', '__return_empty_array' );
Thanks @michaelabf, I’ve started using this too. Do you happen to know if there’s a similar way to get rid of the “What’s New” line on the user Profile->Activity?
Hi Mike Witt,
A little bit more involved ….
Where to change BP Text for activity update
I’m using Legacy, so that link tells me to override activity/post-form.php. But that whole file just creates that one form, right? So it seems like I should be overriding the thing that *includes* that form. I don’t see it in activity/index.php, but maybe I simply don’t know how to recognize it?
Any thoughts on this? Sorry for me level of ignorance here 🙂
Sorry can’t help with that.
I’m using Nouveau so the snippet alone was enough.
Raise the issue with Brajesh at Buddydev, he will certainly assist you.
For what it’s worth, I’ve overridden buddypress/activity/post-form.php and basically deleted all the content from that. This *appears* to work on my test site, removing the What’s New field from both the user’s profile and their “group” page.
<?php
/**
* BuddyPress - Activity Post Form
*
* @package BuddyPress
* @subpackage bp-legacy
* @version 3.0.0
*
*/
?>
I’m a little unsure if I should actually have that closing ?>, but it appear to work that way.