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
63 64 65 66 67 68 69 70 71 72 | protected function start() { // Sanity check. if ( ! bp_use_theme_compat_with_current_theme() ) { return ; } // Setup methods. $this ->setup_globals(); $this ->setup_actions(); } |
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.