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

Filters the final generated excerpt.

Description

Parameters

$truncate

Generated excerpt.

$original_text

Original text provided.

$length

Length of returned string, including ellipsis.

$options

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.