wpseek.com
A WordPress-centric search engine for devs and theme authors



update_archived › WordPress Function

Since
Deprecatedn/a
update_archived ( $id, $archived )
Parameters: (2)
  • (int) $id Blog ID.
    Required: Yes
  • (string) $archived The new status.
    Required: Yes
Returns:
  • (string) $archived
Defined at:
Codex:
Change Log:
  • MU

Updates the 'archived' status of a particular blog.



Source

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