Fires after the current blog’s ‘public’ setting is updated.
Parameters
$site_id
int- Site ID.
$is_public
string- Whether the site is public. A numeric string, for compatibility reasons. Accepts
'1'
or'0'
.
Source
do_action( 'update_blog_public', $site_id, $new_site->public );
Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.