This function has been deprecated.
bp_get_activity_content()
Return the activity content.
Description
Return
(string) The activity content.
Source
File: bp-activity/bp-activity-template.php
function bp_get_activity_content() {
global $activities_template;
/**
* If you want to filter activity update content, please use
* the filter 'bp_get_activity_content_body'.
*
* This function is mainly for backwards compatibility.
*/
$content = bp_get_activity_action() . ' ' . bp_get_activity_content_body();
//return apply_filters( 'bp_get_activity_content', $content );
return apply_filters_ref_array( 'bp_get_activity_content', array( $content, &$activities_template->activity ) );
}
Changelog
| Version | Description |
|---|---|
| 1.5.0 | This function has been deprecated. |
| 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.