WordPress at a glance
action is not described

update_blog_public action-hook . WP 3.0.0

Fires after the current blog's 'public' setting is updated.

Usage

add_action( 'update_blog_public', 'action_function_name_9032', 10, 2 );
function action_function_name_9032( $site_id, $value ){
	// action...
}
$site_id(int)
Site ID.
$value(string)
The value of the site status.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

wp_maybe_transition_site_statuses_on_update()
update_blog_public
wp-includes/ms-site.php 1265
do_action( 'update_blog_public', $site_id, $new_site->public );

Where the hook is used (in WP core)

wp-includes/ms-default-filters.php 54
add_action( 'update_blog_public', 'wp_update_blog_public_option_on_site_update', 1, 2 );