WC_Widget_Product_Search::widget()
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
- See: WP_Widget
WC_Widget_Product_Search::widget() 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 ); }