bbp_get_current_template_pack()
Get the current template pack package.
Description Description
Return Return
Source Source
File: includes/core/theme-compat.php
function bbp_get_current_template_pack() { $bbp = bbpress(); // Theme was not setup, so fallback to an empty object if ( empty( $bbp->theme_compat->theme ) ) { $bbp->theme_compat->theme = new BBP_Theme_Compat(); } // Filter & return return apply_filters( 'bbp_get_current_template_pack', $bbp->theme_compat->theme ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |