Adding extra html to activity updates is being filtered
-
Hi there, I’ve been creating a plugin which optionally can have its own status updates added to Buddypress activity updates by using the function bp_activity_add.
The problem is that when specifiying the ‘content’ for the activity to add, it goes through the apply_filters function which will strip everything except spans, imgs and p tags.
Is there any way (without hacking the bp code) to make sure it does not get so heavily filtered? I would like to add some divs and some other html tags to an activity update so that my activity update gets correctly formatted.
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding extra html to activity updates is being filtered’ is closed to new replies.