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

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'.

Top ↑

Source

File: wp-includes/ms-site.php. View all references

do_action( 'update_blog_public', $site_id, $new_site->public );


Top ↑

Changelog

Changelog
Version Description
MU (3.0.0) Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.