WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/update archived

Contents

Description

Update the 'archived' status of a particular blog.

Usage

<?php update_archived$id$archived ?>

Parameters

$id
(integer) (required) The blog id
Default: None
$archived
(string) (required) The new status
Default: None

Return Values

(string) 
$archived

Examples


Notes

Change Log

Since: 3.0.0

Source File

update_archived() is located in wp-includes/ms-blogs.php

Related

 

See also index of Function Reference and index of Template Tags.