update_archived( int $id, string $archived )

Update the ‘archived’ status of a particular blog.

Description Description

Parameters Parameters


(int) (Required) Blog ID.


(string) (Required) The new status.

Top ↑

Return Return

(string) $archived

Top ↑

Source Source

File: wp-includes/ms-blogs.php

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

Top ↑

Changelog Changelog

Version Description
MU (3.0.0) Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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