Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hide favourites

  • Avatar of acid2k1
    acid2k1
    Participant

    @acid2k1

    Hello,

    Okay I have spent couple of hours trying to find the file to delete or hide favourites & My favourites from the profile and activity pages.

    Any help would be so appreciated

    regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of acid2k1
    acid2k1
    Participant

    @acid2k1

    anyone? please help me.

    Avatar of Doremdou
    Doremdou
    Participant

    @doremdou

    Hello, try to add this in your functions.php (root of your theme folder)

    function my_remove_bp_nav() {
    	global $bp;
    
    	bp_core_remove_subnav_item($bp->activity->slug,'favorites');
    
    }
    add_action( 'bp_setup_nav', 'my_remove_bp_nav' );
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.