bp_get_activity_feed_item_description()
Return the activity feed item description.
Description Description
Return Return
(string) The activity feed item description.
Source Source
File: bp-activity/bp-activity-template.php
function bp_get_activity_feed_item_description() { global $activities_template; // Get the content, if exists. $content = ! empty( $activities_template->activity->content ) ? $activities_template->activity->content : ''; // Perform a few string conversions on the content, if it's not empty. if ( ! empty( $content ) ) { $content = ent2ncr( convert_chars( str_replace( '%s', '', $content ) ) ); } /** * Filters the activity feed item description. * * @since 1.0.0 * * @param string $content The description for the activity feed item. */ return apply_filters( 'bp_get_activity_feed_item_description', $content ); }
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |