WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/update blog public

Description

Update this blog's 'public' setting in the global blogs table.

Public blogs have a setting of 1, private blogs are 0.

Usage

<?php update_blog_public$unused$value ); ?>

Parameters

$unused
(int) (required)
Default: None
$value
(int) (required) The new public value
Default: None

Return Values

(bool) 

Source File

update_blog_public() is located in wp-includes/ms-functions.php