WC_Widget_Product_Search::widget()publicWC 1.0

Output widget.

Method of the class: WC_Widget_Product_Search{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Widget_Product_Search = new WC_Widget_Product_Search();
$WC_Widget_Product_Search->widget( $args, $instance );
$args(array) (required)
Arguments.
$instance(array) (required)
Widget instance.

Notes

WC_Widget_Product_Search::widget() code WC 9.4.2

public function widget( $args, $instance ) {
	$this->widget_start( $args, $instance );

	get_product_search_form();

	$this->widget_end( $args );
}