Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove favorites on user profile


  • tuffo
    Participant

    @tuffo

    Hi!

    I’m new to Buddypress and this will be my first post here. I’m working on some customizations of the user profiles on my site. Now I want to remove the “Favorites” button/function but I can’t figure out how to do it. I tried to add the following to my bp-custom.php

    add_filter( ‘bp_activity_can_favorite’, ‘__return_false’ );

    …but without luck. And trust me, I’ve done my googling on this 🙂

    I’ve done the same thing to the “@mentions” button by adding the following code to bp-custom.php

    add_filter( ‘bp_activity_do_mentions’, ‘__return_false’ );

    …and this works perfectly!

    Anyone who can point me in the right direction?

    Thanks!
    Fredrik

  • The topic ‘Remove favorites on user profile’ is closed to new replies.
Skip to toolbar