single.html
WordPress core a2z
WordPress core only
Home
Blocks
Plugins
Themes
Sitemap
Blog
Block news
About
Home
»
Hooks
»
switch_blog – action
switch_blog – action
Hook name
:
switch_blog
Hook type
:
action
Plugin ref
:
WordPress
Sourcefile
:
File ref
:
restore_current_blog() – Restore the current blog, after calling switch_to_blog().
Description
:
Parameters
:
Deprecated?
:
No
API Letters
:
B
,
S
Invokers
1 to 2 of 2
restore_current_blog() – Restore the current blog, after calling switch_to_blog().
switch_to_blog() – Switch the current blog.
Implementers
Published:
31st October 2022
Last updated:
31st October 2022
Information
Hook name
:
switch_blog
Hook type
:
action
Plugin ref
:
WordPress
Sourcefile
:
File ref
:
restore_current_blog() – Restore the current blog, after calling switch_to_blog().
Description
:
Parameters
:
Deprecated?
:
No
API Letters
:
B
,
S
Search
Search