WordPress.org

Ready to get started?Download WordPress

Codex

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

Plugin API/Action Reference/sidebar admin setup

This page is marked as incomplete. You can help Codex by expanding it.

Contents

Description

sidebar_admin_setup is an action triggered early on when editing sidebar widgets. Generally speaking, this action is triggered after widgets are set up (globals $wp_registered_widgets and $wp_registered_widget_controls are defined) but before other actions on the widgets are taken.

Example

Change Log

Source File

Triggered in wp-admin/widgets.php and by wp_ajax_save_widget in wp-admin/includes/ajax-actions.php.

Related

Actions