bp_the_activity()
Get the current activity object in the loop.
Description
Return
(object) The current activity within the loop.
Source
File: bp-activity/bp-activity-template.php
function bp_the_activity() {
global $activities_template;
return $activities_template->the_activity();
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.0.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.