apply_filters( 'bp_media_extractor_videos', array $data, string $richtext, string $plaintext, array $extra_args )

Filters videos extracted from text.

Description

Parameters

$data

(array) Extracted videos. See BP_Media_Extractor::extract_videos() for format.

$richtext

(string) Content to parse.

$plaintext

(string) Copy of $richtext without any markup.

$extra_args

(array) Bespoke data for a particular extractor.

Source

File: bp-core/classes/class-bp-media-extractor.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.