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.
Description Description
Parameters Parameters
- $extracted_media
-
Extracted media item. See BP_Media_Extractor::extract() for format.
- $content
-
Content of the activity item.
- $activity
-
The data passed to bp_activity_add() or the values from an Activity obj.
- $media
-
All results from the media extraction. See BP_Media_Extractor::extract() for format.
- $use_media_type
-
The kind of media item that was preferentially extracted.
- $image_source
-
If $use_media_type was "images", the preferential source of the image. Otherwise empty.
Source Source
File: bp-activity/bp-activity-functions.php
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |