do_action( 'switch_blog', int $new_blog )

Fires when the blog is switched.


Parameters

$new_blog

(int) Blog ID.


Source

File: wp-includes/ms-blogs.php

View on GitHub



Changelog

Changelog
Version Description
WP-MU Introduced. (3.0.0)