apply_filters( 'bp_media_extractor_galleries', array $galleries_data, string $richtext, string $plaintext, array $extra_args )

Filters image galleries extracted from text.

Description

Parameters

$galleries_data

(array) Galleries. See BP_Media_Extractor::extract_images_from_galleries().

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