BuddyDev

Add Email Notification Unsubscribe Link to all BuddyPress Emails

BuddyPress allows users to unsubscribe from email notifications without logging in to the site.  The unsubscribe link is part of the email header(allows your email clients to attempt unsubscribe) and in the footer of the html email as shown below. The Unsubscribe link is not visible to the users when using BuddyPress email in plaintext …

Disable BuddyPress Components Conditionally

Do you want to disable some of the BuddyPress components based on user role or some other conditions? if you do, BuddyPress provides us with a filter hook "bp_is_active" that you  can use to conditionally disable the components. It is not even necessary to filter based on role, you can filter based on anything you …

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 …