apply_filters( 'bp_activity_create_summary', string $summary, string $content, array $activity, array $extracted_media )

Filters the newly-generated summary for the activity item.

Description

Parameters

$summary

(string) Activity summary HTML.

$content

(string) Content of the activity item.

$activity

(array) The data passed to bp_activity_add() or the values from an Activity obj.

$extracted_media

(array) Media item extracted. See BP_Media_Extractor::extract() for format.

Source

File: bp-activity/bp-activity-functions.php

Changelog

Changelog
Version Description
BuddyPress 2.3.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.