bp_after_setup_theme()
Fire the ‘bp_after_setup_theme’ action.
Description
Piggy-back action for BuddyPress-specific theme actions once the theme has been set up and the theme’s functions.php has loaded.
Hooked to ‘after_setup_theme’ with a priority of 100. This allows plenty of time for other themes to load their features, such as BuddyPress support, before our theme compatibility layer kicks in.
Source
File: bp-core/bp-core-dependency.php
function bp_after_setup_theme() {
/**
* Fires inside the 'bp_after_setup_theme' function.
*
* @since BuddyPress 1.7.0
*/
do_action( 'bp_after_setup_theme' );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.6.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.