diff --git a/src/wp-admin/includes/widgets.php b/src/wp-admin/includes/widgets.php index c574f41f68..6890e3f397 100644 --- a/src/wp-admin/includes/widgets.php +++ b/src/wp-admin/includes/widgets.php @@ -188,6 +188,8 @@ function wp_widget_control( $sidebar_args ) { $widget_title = esc_html( strip_tags( $sidebar_args['widget_name'] ) ); $has_form = 'noform'; + do_action( 'temp_wp_widget_control_before', $sidebar_args ); + echo $sidebar_args['before_widget']; ?>