Summery Summery
Updates the blog_public
option for a given site ID.
Syntax Syntax
Parameters Parameters
- $site_id
-
(Required) Site ID.
- $public
-
(Required) The value of the site status.
Source Source
File: wp-includes/ms-site.php
clean_blog_cache( $new_site ); } } /** * Updates the `blog_public` option for a given site ID. * * @since 5.1.0 *
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |