@micheledisalvatore-1
10 years 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){ ... }