apply_filters( 'bp_activity_user_can_read', bool $retval, int $user_id, BP_Activity_Activity $activity )

Filters whether the current user has access to an activity item.


Parameters Parameters

$retval

(bool) Return value.

$user_id

(int) Current user ID.

$activity

(BP_Activity_Activity) Activity object.


Source Source

File: bp-activity/bp-activity-functions.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.