WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/wp set sidebars widgets


This function's access is marked as private. That means it is not intended for use by plugin and theme developers, but only in other core functions. It is listed here for completeness. Use any of these functions instead.

Contents

Description

Set the sidebar widget option to update sidebars.

Parameters

$sidebars_widgets
(array) (required) Sidebar widgets and their settings.
Default: None

Change Log

Since: 2.2.0

Source File

wp_set_sidebars_widgets() is located in wp-includes/widgets.php

Related

Sidebars: is_active_sidebar(), is_dynamic_sidebar(), dynamic_sidebar(), register_sidebars(), register_sidebar(), unregister_sidebar(), wp_register_sidebar_widget(), wp_unregister_sidebar_widget(), wp_get_sidebars_widgets(), wp_set_sidebars_widgets()

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