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
Changelog
Version | Description |
---|---|
WP-MU | Introduced. (3.0.0) |
Fires when the blog is switched.
(int) Blog ID.
File: wp-includes/ms-blogs.php
Version | Description |
---|---|
WP-MU | Introduced. (3.0.0) |