do_action( ‘the_widget’, string $widget, array $instance, array $args )

Fires before rendering the requested widget.

Parameters

$widgetstring
The widget’s class name.
$instancearray
The current widget instance’s settings.
$argsarray
An array of the widget’s sidebar arguments.

Source

do_action( 'the_widget', $widget, $instance, $args );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.