切换博客时触发。
原型
do_action( 'switch_blog', int $new_blog )
参数
$new_blog
(int)
博客ID。
源文件
路径:wp-includes/ms-blogs.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/switch_blog/
切换博客时触发。
do_action( 'switch_blog', int $new_blog )
$new_blog
(int)
博客ID。
路径:wp-includes/ms-blogs.php
英文文档:https://developer.wordpress.org/reference/hooks/switch_blog/
请在后台设置小工具!