Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,006
- How-to & Troubleshooting
- 129,530
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,398
- Miscellaneous
- 9,170
-
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