Filter on activity stream content.
I maintain a couple of plugins that between them add support for a range of safe shortcodes to be used in comments, bbpress forum posts, buddypress group posts and the activity stream:
However at some point the activity stream support seems to have broken.
If I type: `this is [b]some bold[/b] text` into an activity update, it used to output:
this is some bold text
but now it outputs
this is text
It seems I can no longer filter on ‘bp_get_activity_content_body’. What do I need to change?
`add_filter( ‘bp_get_activity_content_body’, ‘bbp_whitelist_do_shortcode’ );`
- The topic ‘Filter on activity stream content.’ is closed to new replies.