the_widget

the_widget

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

See hook in core

Displaying hooks found in version: wordpress-6.6.2

do_action('the_widget') is found 1 times:

  • /wp-includes/widgets.php line 1266
    	 * @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 );
    }
    
    /**