@micheledisalvatore-1
9 years, 11 months ago
Thank you @henrywright, it was the right think that I was looking for.
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){ ... }