BuddyDev

BuddyDev Blog

Disabling oEmbed support in BuddyPress Activity

If you want to disable oEmbed(e.g youtube videos, vimeo videos etc embedding) support in BuddyPress activity, you can simply put the following code in your bp-custom.php and it will do that. add_filter( ‘bp_use_oembed_in_activity’, ‘__return_false’ ); Yup! That’s all you need to disable oEmbed support in the BuddyPress activity. Bonus:- Disable clickable links in activity. Don’t want …