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

Filters links extracted from text.

Description

Parameters

$data

(array) Extracted links. See BP_Media_Extractor::extract_links() 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.