bp_rest_activity_show_hidden
bp_rest_activity_show_hidden
Appears in: buddypress.11.0.0, buddypress.11.1.0, buddypress.11.2.0, buddypress.11.3.2, buddypress.11.4.0, buddypress.12.0.0, buddypress.12.1.1, buddypress.12.2.0, buddypress.12.3.0, buddypress.12.4.0, buddypress.12.4.1, buddypress.12.5.0, buddypress.12.5.1, buddypress.14.0.0, buddypress.14.1.0, buddypress.14.2.1, buddypress.14.3.3
Hook Type: filter
Displaying hooks found in version: buddypress.14.3.3apply_filters('bp_rest_activity_show_hidden') is found 1 times:
- /bp-activity/classes/class-bp-rest-activity-endpoint.php line 124312391240124112421243124412451246124712481249
* @param bool
$retval
True to show hidden activities. False otherwise.
* @param string
$component
The component name/ID.
* @param int
$user_id
The current user ID.
*/
$retval
= apply_filters(
'bp_rest_activity_show_hidden'
,
$retval
,
$component
,
$user_id
);
}
// Moderators as well.
if
( bp_current_user_can(
'bp_moderate'
) ) {
$retval
= true;
}