bp_get_theme_package_id( string $default = 'nouveau' )

Get the current theme package ID.

Description

Parameters

$default

(Optional) Fallback value if not found in the database. Default: 'nouveau'.

Default value: 'nouveau'

Return

(string) ID of the theme package.

Source

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

function bp_get_theme_package_id( $default = 'nouveau' ) {

	/**
	 * Filters the current theme package ID.
	 *
	 * @since BuddyPress 1.7.0
	 *
	 * @param string $value The current theme package ID.
	 */
	return apply_filters( 'bp_get_theme_package_id', $default );
}

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.