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

1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
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

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.