the filter name is bp_activity_can_comment
defined: bp-activity/bp-activity-template.php:3305
More here
		
	 
	
	
	
 
		
			
	
	
		
		Maybe my previous message wasn’t clear.
What I’m trying to do is to take the content of an activity comment before saving it, to check the content, so my code will be:
add_filter( '--> FILTER <--', 'commentChecker' );
function commentChecker($content){
  ...
}
		
	 
	
	
	
 
		
			
	
	
		
		bp_activity_content_before_save should do the trick.
		
	 
	
	
	
 
		
			
	
	
		
		Thank you  @henrywright, it was the right think that I was looking for.
		
	 
	
	
	
 
		
	
@micheledisalvatore-1
10 years, 10 months ago
Hi I’m trying to add a filter to manipulate activity comment content, but I’ve not found any filter. Is there one?