do_action( 'update_blog_public', int $site_id, string $is_public )

Fires after the current blog’s ‘public’ setting is updated.


Parameters

$site_id

Site ID.

$is_public

Whether the site is public. A numeric string, for compatibility reasons. Accepts '1' or '0'.


Source

File: wp-includes/ms-site.php

View on GitHub



Changelog

Changelog
Version Description
MU (3.0.0) Introduced. MU (3.0.0)