sidebar_admin_setup
Fires early before the Widgets administration screen loads, after scripts are enqueued.
Usage
add_action( 'sidebar_admin_setup', 'wp_kama_sidebar_admin_setup_action' ); /** * Function for `sidebar_admin_setup` action-hook. * * @return void */ function wp_kama_sidebar_admin_setup_action(){ // action... }
Changelog
Since 2.2.0 | Introduced. |
Where the hook is called
In file: /wp-admin/widgets-form.php
wp-admin/widgets-form.php 38
do_action( 'sidebar_admin_setup' );
wp-includes/class-wp-customize-widgets.php 342
do_action( 'sidebar_admin_setup' );
wp-includes/class-wp-customize-widgets.php 1702
do_action( 'sidebar_admin_setup' );
wp-admin/widgets-form-blocks.php 68
do_action( 'sidebar_admin_setup' );
wp-admin/includes/ajax-actions.php 2376
do_action( 'sidebar_admin_setup' );
wp-admin/includes/ajax-actions.php 2480
do_action( 'sidebar_admin_setup' );