Un motore di ricerca WordPress per sviluppatori e autori di temi



update_archived ›

Da3.0.0
Deprecaton/a
update_archived ( $id, $archived )
Parametri: (2)
  • (int) $id Blog ID.
    Richiesto:
  • (string) $archived The new status.
    Richiesto:
Ritorna:
  • (string) $archived
Definito a:
Codex:
ChangeLog:
  • MU

Update the 'archived' status of a particular blog.



Sorgenti

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