bp_activity_get_excerpt_length()

Gets the excerpt length for activity items.


Description Description


Return Return

(int) Character length for activity excerpts.


Top ↑

Source Source

File: bp-activity/bp-activity-functions.php

function bp_activity_get_excerpt_length() {
	/**
	 * Filters the excerpt length for the activity excerpt.
	 *
	 * @since 1.5.0
	 *
	 * @param int Character length for activity excerpts.
	 */
	return (int) apply_filters( 'bp_activity_excerpt_length', 358 );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.