BP_Theme_Compat::start()

Set up the BuddyPress-specific theme compat methods.


Description Description

Themes should use this method in their constructor.


Source 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();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.