apply_filters( 'bp_create_excerpt', string $truncate, string $original_text, int $length, array $options )

Filters the final generated excerpt.

Description

Parameters

$truncate

(string) Generated excerpt.

$original_text

(string) Original text provided.

$length

(int) Length of returned string, including ellipsis.

$options

(array) Array of HTML attributes and options.

Source

File: bp-core/bp-core-template.php

Changelog

Changelog
Version Description
BuddyPress 1.1.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.