bp_allowed_themes( array $themes )

Fire the ‘bp_allowed_themes’ filter.


Description Description

Filter the allowed themes list for BuddyPress-specific themes.


Parameters Parameters

$themes

(Required) The path of the template to include.


Top ↑

Return Return

(array)


Top ↑

Source Source

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

function bp_allowed_themes( $themes ) {

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

Top ↑

Changelog Changelog

Changelog
Version Description
1.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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