update_archived( int $id, string $archived )

Update the ‘archived’ status of a particular blog.


Parameters

$id

(Required) The blog id

$archived

(Required) The new status


Return

(string) $archived


Source

File: wp-includes/ms-blogs.php

function update_archived( $id, $archived ) {
	update_blog_status($id, 'archived', $archived);
	return $archived;
}


Changelog

Changelog
Version Description
WP-MU Introduced. (3.0.0)