bp_get_activity_secondary_item_id()
Return the activity secondary item ID.
Description
Return
(int) The activity secondary item ID.
Source
File: bp-activity/bp-activity-template.php
function bp_get_activity_secondary_item_id() { global $activities_template; /** * Filters the activity secondary item ID being displayed. * * @since BuddyPress 1.2.0 * * @param int $secondary_item_id The activity secondary item ID. */ return apply_filters( 'bp_get_activity_secondary_item_id', $activities_template->activity->secondary_item_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.