bp_setup_theme()

Fire the ‘bp_setup_theme’ action.

Description

The main purpose of ‘bp_setup_theme’ is give themes a place to load their BuddyPress-specific functionality.

Source

File: bp-core/bp-core-dependency.php

function bp_setup_theme() {

	/**
	 * Fires inside the 'bp_setup_theme' function.
	 *
	 * @since BuddyPress 1.6.0
	 */
	do_action( 'bp_setup_theme' );
}

Changelog

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.