Codex

Function Reference/restore current blog

Contents

Description

Restore the current blog, after calling switch_to_blog()

Usage

<?php restore_current_blog() ?>

Parameters

This function does not accept any parameters

Return Values

(boolean) 
True on success, False if we're already on the current blog

Examples


Notes

Change Log

Since: 3.0.0

Source File

restore_current_blog() is located in wp-includes/ms-blogs.php

Related

 

See also index of Function Reference and index of Template Tags.