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

Fires before rendering the requested widget.


Description Description


Parameters Parameters

$widget

(string) The widget's class name.

$instance

(array) The current widget instance's settings.

$args

(array) An array of the widget's sidebar arguments.


Top ↑

Source Source

File: wp-includes/widgets.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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