apply_filters( 'bp_media_extractor_featured_images', array $image, string $richtext, string $plaintext, array $extra_args )

Filters featured images extracted from a WordPress Post.

Description

Parameters

$image

Extracted images. See BP_Media_Extractor_Post::extract_images() for format.

$richtext

Content to parse.

$plaintext

Copy of $richtext without any markup.

$extra_args

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.