update_archived

Advertisement

Summery Summery

Update the ‘archived’ status of a particular blog.

Syntax Syntax

update_archived( int $id, string $archived )

Parameters Parameters

$id

(int) (Required) Blog ID.

$archived

(string) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.