apply_filters( 'bp_activity_create_summary_extractor_result', array $extracted_media, string $content, array $activity, array $media, string $use_media_type, string $image_source )

Filter the results of the media extractor when creating an Activity summary.

Parameters Parameters


(array) Extracted media item. See BP_Media_Extractor::extract() for format.


(string) Content of the activity item.


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


(array) All results from the media extraction. See BP_Media_Extractor::extract() for format.


(string) The kind of media item that was preferentially extracted.


(string) If $use_media_type was "images", the preferential source of the image. Otherwise empty.

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.