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

1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
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.