Skip to:

Remove Global Activity Stream

  • kaneesha



    I’m looking for a way to disable the global activity stream but keep the normal ones in the profiles for each user enabled.

    So just to be clear i mean with disable, zero possible (server) queries and zero data fetching.

    The BP forum search wasn’t really helpful since the questions were mostly about how to hide the tab links to the global activity stream and they were also very dated.

    So is there such a way to get it maybe done via functions.php? Since i really don’t want to tinker around in the BP source files.

    Thanks a bunch in advance

Viewing 2 replies - 1 through 2 (of 2 total)

  • shanebp


    You cannot disable it. The same code is used on profile > activity.
    Perhaps you could remove access to the main activity page by redirecting somewhere else.
    This will redirect to home page.

    function pp_check_if_activity_main_page() {
    	if ( bp_is_activity_directory() ) {
    		bp_core_redirect( home_url() );
    add_action( 'bp_init', 'pp_check_if_activity_main_page' );



    Hi again,

    yes i’ve feared that already so i decided to ditch activity streams for now entirely since i’m now in the process of optimizing the page loading speeds by either removing or disabling particular elements, or even entire plugins, that’s why i asked.

    Nontheless thank you for your Help again 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar