Disabling Comments in BuddyPress
I am using latest WP and BP versions and I want to disable all kinds of commenting on my website. I searched and found this line to add in functions.php – add_filter(‘bp_activity_can_comment’,’__return_false’);
This solution however is not working. I have also added it to bp-custom.php and not working there either. It took a whole day of mine and I will be grateful if someone points me to a solution.
- The topic ‘Disabling Comments in BuddyPress’ is closed to new replies.