bp_activity_screen_single_activity_permalink, $activity, $has_access
bp_activity_screen_single_activity_permalink, $activity, $has_access
Appears in: buddypress.14.5.2
Hook Type: action
Displaying hooks found in version: buddypress.14.5.2do_action('bp_activity_screen_single_activity_permalink, $activity, $has_access') is found 1 times:
- /bp-activity/screens/permalink.php line 149
* * @param BP_Activity_Activity $activity Object representing the current activity item being displayed. * @param bool $has_access Whether or not the current user has access to view activity. */ do_action( 'bp_activity_screen_single_activity_permalink', $activity, $has_access ); // Access is specifically disallowed. if ( false === $has_access ) { // If not logged in, prompt for login. if ( ! is_user_logged_in() ) { bp_core_no_access();