bp_get_activity_content_body()
Return the activity content body.
Description Description
Return Return
(string) The activity content body.
Source Source
File: bp-activity/bp-activity-template.php
function bp_get_activity_content_body() { global $activities_template; // Backwards compatibility if action is not being used. if ( empty( $activities_template->activity->action ) && ! empty( $activities_template->activity->content ) ) { $activities_template->activity->content = bp_insert_activity_meta( $activities_template->activity->content ); } /** * Filters the activity content body. * * @since 1.2.0 * * @param string $content Content body. * @param object $activity Activity object. Passed by reference. */ return apply_filters_ref_array( 'bp_get_activity_content_body', array( $activities_template->activity->content, &$activities_template->activity ) ); }
Changelog Changelog
Version | Description |
---|---|
1.2.0 | Introduced. |