bbp_delete_activity

  • apply_filters( 'bbp_delete_activity', $activity )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-extend-buddypress.php :: Trac Source Line: 311
      			'type'              => false,
      			'user_id'           => false,
      			'secondary_item_id' => false
      		);
      
      		// Parse the differenc
      		$activity = wp_parse_args( $args, $defaults );
      
      		// Just in-time filtering of activity stream contents
      		$activity = apply_filters( 'bbp_delete_activity', $activity );
      
      		// Delete the activity
      		bp_activity_delete_by_item_id( $activity );
      	}
      
      	/**
      	 * Maybe disable activity stream comments on select actions
      	 *
      	 * @since bbPress (r3399)
      	 *
      

Comments are closed.