update_archived

Advertisement

Summery Summery

Update the ‘archived’ status of a particular blog.

Syntax Syntax

update_archived( int $id, string $archived )

Parameters Parameters

$id

(Required) Blog ID.

$archived

(Required) The new status.

Return Return

(string) $archived

Source Source

File: wp-includes/ms-blogs.php

 *
 * @param int $id Blog ID.
 * @return string Whether the blog is archived or not.
 */

Advertisement

Changelog Changelog

Changelog
Version Description
MU (3.0.0) Introduced.

Advertisement

Leave a Reply