BP_Theme_Compat::start()

Set up the BuddyPress-specific theme compat methods.

Description

Themes should use this method in their constructor.

Source

File: bp-core/classes/class-bp-theme-compat.php

	protected function start() {
		// Sanity check.
		if ( ! bp_use_theme_compat_with_current_theme() ) {
			return;
		}

		// Setup methods.
		$this->setup_globals();
		$this->setup_actions();
	}

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.