apply_filters( 'bp_activity_create_summary_extractor_class', string $extractor, string $content, array $activity )

Filter the class name of the media extractor when creating an Activity summary.


Description Description

Use this filter to change the media extractor used to extract media info for the activity item.


Top ↑

Parameters Parameters

$extractor

(string) Class name.

$content

(string) The content of the activity item.

$activity

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


Source Source

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

View on Trac



Top ↑

Changelog 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.