4 years, 7 months ago
I have been scouring the internet to find a way to disable oEmbed from the activity stream.
I have found a couple solutions and they have not worked.
I have tried this and it did not work
. * Disabled oEmbed from WordPress 3.5
remove_filter ( 'the_content' , array ( $GLOBALS [ 'wp_embed' ], 'autoembed' ), 8 );
answered by modemlooper at https://buddypress.org/support/topic/how-to-use-remove_filter/
remove_filter( 'bp_get_activity_content_body', 'autoembed', 8 );
remove_filter( ‘bp_get_activity_content’, ‘autoembed’, 8 );
In the future, please refrain from replying to a 3 year old topic. Create a new one. 🙂
See also: WordPress.org •
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service