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

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

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

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.