WPDev.one
Core Function
View Source on Trac ↗

restore_current_blog()

restore_current_blog( )

Restores the current blog, after calling switch_to_blog().

Return Value

(bool)
True on success, false if we're already on the current blog.

Function Information

Since Version
MU (3.0.0)
Source File
wp-includes/ms-blogs.php
Advertisement