Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hide favourites


  • 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)

  • acid2k1
    Participant

    @acid2k1

    anyone? please help me.


    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)
  • The topic ‘Hide favourites’ is closed to new replies.
Skip to toolbar