do_action( 'bp_activity_screen_single_activity_permalink', BP_Activity_Activity $activity, bool $has_access )

Fires before the loading of a single activity template file.

Description

Parameters

$activity

Object representing the current activity item being displayed.

$has_access

Whether or not the current user has access to view activity.

Source

File: bp-activity/screens/permalink.php

Changelog

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.