Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,918
- How-to & Troubleshooting
- 129,137
- Creating & Extending
- 25,779
- Requests & Feedback
- 9,463
- Third Party Plugins
- 9,782
- Showcase
- 3,317
- Ideas
- 1,399
- Miscellaneous
- 9,162
-
or you can keep in bp-custom.php, if you hook it to init action.
add_action("init","remove_autop_filters_from_activity");
function remove_autop_filters_from_activity(){
remove_filter( 'bp_get_activity_content_body', 'wpautop' );
remove_filter( 'bp_get_activity_content', 'wpautop' );
}
Actually, the remove filter should be called after the filter is actually added.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS