Try adding this to your theme/functions.php or bp-custom.php
add_filter('bp_get_send_public_message_button', '__return_false');
Hi shanebp,
thanks a lot for your help!!
I inserted the code into functions.php and it worked!
You helped me a lot.
One more question: Where do I find bp-custom.php? I searched the bp folders but couldn’t find the file.
Thanks
Where do I find bp-custom.php? I searched the bp folders but couldn’t find the file.
You won’t have a bp-custom.php file by default so you will need to create one inside the plugins folder. So for example:
wp-content/plugins/bp-custom.php
The contents of the file should be:
<?php
// Put your code snippets here
OK, I see. Thanks for your help and answer.