bbp_restore_current_site()

Switch back to the original site in a multisite installation.


Description Description

If not a multisite installation, no switching will occur.


Source Source

File: includes/core/abstraction.php

function bbp_restore_current_site() {

	// Switch back to the original site
	if ( is_multisite() ) {
		restore_current_blog();
	}
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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