BuddyPress::register_theme_directory()

Set up BuddyPress’s legacy theme directory.


Description Description

Starting with version 1.2, and ending with version 1.8, BuddyPress registered a custom theme directory – bp-themes – which contained the bp-default theme. Since BuddyPress 1.9, bp-themes is no longer registered (and bp-default no longer offered) on new installations. Sites using bp-default (or a child theme of bp-default) will continue to have bp-themes registered as before.


Source Source

File: class-buddypress.php

	public function register_theme_directory() {
		if ( ! bp_do_register_theme_directory() ) {
			return;
		}

		register_theme_directory( $this->old_themes_dir );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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