bp_activity_hide_user_activity( int $user_id )
Hide a user’s activity.
Description
Parameters
- $user_id
-
(int) (Required) The ID of the user whose activity is being hidden.
Return
(bool) True on success, false on failure.
Source
File: bp-activity/bp-activity-functions.php
function bp_activity_hide_user_activity( $user_id ) { return BP_Activity_Activity::hide_all_for_user( $user_id ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.2.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.