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

Update the ‘archived’ status of a particular blog.


Parameters

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

Top ↑

Return

string $archived


Top ↑

Source

File: wp-includes/ms-blogs.php. View all references

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

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