WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about widgets

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/ajax-actions.php do_action 2343 /**
* Fires early when editing the widgets displayed in sidebars.
*
* @since 2.8.0
*/
wp-admin/includes/ajax-actions.php do_action 2448 /**
* Ajax handler for removing inactive widgets.
*
* @since 4.4.0
*/
wp-includes/class-wp-customize-widgets.php do_action 339 /**
* Ensures all widgets get loaded into the Customizer.
*
* Note: these actions are also fired in wp_ajax_update_widget().
*
* @since 3.9.0
*/
wp-includes/class-wp-customize-widgets.php do_action 1682 /**
* Updates widget settings asynchronously.
*
* Allows the Customizer to update a widget using its form, but return the new
* instance info via Ajax instead of saving it to the options table.
*
* Most code here copied from wp_ajax_save_widget().
*
* @since 3.9.0
*
* @see wp_ajax_save_widget()
*/

Hook Parameters

Parameter Type Name Description