Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function toscho__Restore_Original_Blog(){
- if(!empty($GLOBALS['_wp_switched_stack'][0])){
- switch_to_blog( $GLOBALS['_wp_switched_stack'][0] );
- }
- $GLOBALS['_wp_switched_stack'] = array();
- $GLOBALS['switched'] = FALSE;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement