update_blog_public WordPress Action Hook
The update_blog_public WordPress hook is a hook that is called whenever a blog's public status is updated. This hook can be used to perform any actions that need to happen when a blog's public status is changed.
do_action( 'update_blog_public', int $site_id , string $value ) #
Fires after the current blog’s ‘public’ setting is updated.
Parameters
- $site_id
(int)Site ID.
- $value
(string)The value of the site status.
Source
File: wp-includes/ms-site.php
Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |