the_widget

the_widget

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('the_widget') is found 1 times:

  • /wp-includes/widgets.php line 1266
    1262
    1263
    1264
    1265
    1266
    1267
    1268
    1269
    1270
    1271
    1272
         * @param string $widget   The widget's class name.
         * @param array  $instance The current widget instance's settings.
         * @param array  $args     An array of the widget's sidebar arguments.
         */
        do_action( 'the_widget', $widget, $instance, $args );
     
        $widget_obj->_set( -1 );
        $widget_obj->widget( $args, $instance );
    }
     
    /**