BuddyDev

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.

Yup! That’s all you need to disable oEmbed support in the BuddyPress activity.

Bonus:- Disable clickable links in activity.

Don’t want to allow users to link to urls from the activity? No problem. You can put the following code in your bp-custom.php to disable linking from activity contents.

That’s all for today. Have fun!

Leave a Reply

Are you looking for support?

Please ask support questions in BuddyDev Forum and help us serve you better. Please use comment for general discussion/feature suggestions.

Your email address will not be published. All the fields marked as * are required.

If you are posting code, please use <pre> { Your Code Block } </pre>. Example:- <pre> echo $name; </pre>

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">