WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about the_widget

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/widgets.php do_action 1254 /**
* Fires before rendering the requested widget.
*
* @since 3.0.0
*
* @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.
*/

Hook Parameters

Parameter Type Name Description
string $widget The widget's class name.
array $instance The current widget instance's settings.
array $args An array of the widget's sidebar arguments.