WordPress.org

Codex

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

WPMU Functions/update archived

Description

Updates the archived status of the specified blog with the value provided, can be used to set a blog as archived or not.

Usage

<?php update_archived$id$archived ); ?>

Parameters

$id
(integer) (required) The id of the blog to be updated.
Default: None
$archived
(boolean) (required) The new archived status value.
Default: None

Return Values

(boolean) 
Returns the new archived status of the specified blog.