update_archived

Definition:
function update_archived( $id, $archived ) {}

Update the ‘archived’ status of a particular blog.

Parameters

  • int $id: The blog id
  • string $archived: The new status

Source code

function update_archived( $id, $archived ) {

	update_blog_status($id, 'archived', $archived);

	return $archived;

}

3151

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: