WC_Widget::widget_end()publicWC 1.0

Output the html at the end of a widget.

{} It's a method of the class: WC_Widget{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Widget = new WC_Widget();
$WC_Widget->widget_end( $args );
$args(array) (required)
Arguments.

Code of WC_Widget::widget_end() WC 6.8.2

public function widget_end( $args ) {
	echo $args['after_widget']; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
}