Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,881
- Creating & Extending
- 25,910
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,183
-
Hi @chatty24,
Instead of disallowing, allow those you need. 😉
// allow tags on updates form
function bpfr_whitelist_tags_in_activity( $allowedtags ) {
$allowedtags['img']['target'] = array();
return $allowedtags;
}
add_filter( 'bp_activity_allowed_tags', 'bpfr_whitelist_tags_in_activity' );
Reference: bp-activity-filters.php:184