update_archived( int   $id , string   $archived ): string

Updates the ‘archived’ status of a particular blog.

Parameters

$id int required
Blog ID.
$archived string required
The new status.

Return

string $archived

Source

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

Changuelog

Versionen Description
MU (3.0.0) Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.