apply_filters( 'bp_media_extractor_extract', array $media, string $richtext, int $what_to_extract, array $extra_args, string $plaintext )

Filters media extracted from text.


Description Description


Parameters Parameters

$media

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

$richtext

Content to parse.

$what_to_extract

Media type to extract.

$extra_args

Bespoke data for a particular extractor.

$plaintext

Copy of $richtext without any markup.


Top ↑

Source Source

File: bp-core/classes/class-bp-media-extractor.php


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.