bp_allowed_themes( array $themes )

Fire the ‘bp_allowed_themes’ filter.

Description

Filter the allowed themes list for BuddyPress-specific themes.

Parameters

$themes

(Required) The path of the template to include.

Return

(array)

Source

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

function bp_allowed_themes( $themes ) {

	/**
	 * Filters the allowed themes list for BuddyPress-specific themes.
	 *
	 * @since BuddyPress 1.7.0
	 *
	 * @param string $template The path of the template to include.
	 */
	return apply_filters( 'bp_allowed_themes', $themes );
}

Changelog

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