Skip to:
Content
Pages
Categories
Search
Top
Bottom

Filtering the Activity Stream

  • @webstergroup

    Participant

    How can I make the activity stream NOT show blog posts but show everything else?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @dpolant

    Participant

    The simplest way, which might disable some things you don’t want disabled, is to turn off blog tracking in the wp-admin -> buddypress -> component setup.

    To just get rid of blog posts in the activity feed, you need to remove some actions. Try this:

    remove_action( 'save_post', 'bp_blogs_record_post', 10, 2);

    Remember this needs to go in a plugin or in bp-custom.php. There are other blog related activity things too like comments and new blog creations. You can get rid of these with similar syntax – just look through bp-blogs.php and find the lines that say “add_action” and have a record function in quotes.

    @webstergroup

    Participant

    Thank you … I can see many uses for remove_action

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filtering the Activity Stream’ is closed to new replies.
Skip to toolbar