update_blog_public( int $old_value, int $value )
Update this blog’s ‘public’ setting in the global blogs table.
Description Description
Public blogs have a setting of 1, private blogs are 0.
Parameters Parameters
- $old_value
-
(int) (Required)
- $value
-
(int) (Required) The new public value
Source Source
File: wp-includes/ms-functions.php
function update_blog_public( $old_value, $value ) { update_blog_status( get_current_blog_id(), 'public', (int) $value ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |