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();
}
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.6.0 | Introduced. |