do_action( 'the_widget', string $widget, array $instance, array $args )

Fires before rendering the requested widget.


Parameters

$widget

The widget's class name.

$instance

The current widget instance's settings.

$args

An array of the widget's sidebar arguments.


Source

File: wp-includes/widgets.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.0.0 Introduced.