do_action( 'sidebar_admin_setup' )
- Since
- 2.2.0
Fires early before the Widgets administration screen loads, after scripts are enqueued.
Compatibility
- WordPress
- since 2.2.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Where this hook fires · 6
wp-admin/includes/ajax-actions.php:2376wp_ajax_save_widget()wp-admin/includes/ajax-actions.php:2480wp_ajax_delete_inactive_widgets()wp-admin/widgets-form-blocks.php:86file scopewp-admin/widgets-form.php:38file scopewp-includes/class-wp-customize-widgets.php:342WP_Customize_Widgets::customize_controls_init()wp-includes/class-wp-customize-widgets.php:1723WP_Customize_Widgets::wp_ajax_update_widget()
Source code
/** * Fires early before the Widgets administration screen loads, * after scripts are enqueued. * * @since 2.2.0 */do_action( 'sidebar_admin_setup' ); get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __( 'Overview' ), 'content' =>Changelog
Introduced in 2.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.8.8 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.