bbPress::setup_theme()

Setup the default Forums theme compatibility location.

Description

Source

File: bp-forums/classes/class-bbpress.php

    public function setup_theme() {

        // Bail if something already has this under control
        if ( ! empty( $this->theme_compat->theme ) )
            return;

        // Setup the theme package to use for compatibility
        bbp_setup_theme_compat( bbp_get_theme_package_id() );
    }

Changelog

Changelog
Version Description
bbPress (r3778) 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.