SHARE
TWEET

Untitled

a guest Jul 9th, 2014 147 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function my_bp_activities_include_activity_types( $retval ) {
  2.     // only allow the following activity types to be shown
  3.     $retval['action'] = array(
  4.         'activity_update',
  5.         'activity_comment',
  6.         'new_blog_post',
  7.         'new_blog_comment',
  8.         'friendship_created',
  9.         'created_group',
  10.     );
  11.  
  12.     return $retval;
  13. }
  14. add_filter( 'bp_after_has_activities_parse_args', 'my_bp_activities_include_activity_types' );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top