woocommerce_before_widget_product_list

woocommerce_before_widget_product_list

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_before_widget_product_list') is found 3 times:

  • /includes/widgets/class-wc-widget-products.php line 199
    		$products = $this->get_products( $args, $instance );
    		if ( $products && $products->have_posts() ) {
    			$this->widget_start( $args, $instance );
    
    			echo wp_kses_post( apply_filters( 'woocommerce_before_widget_product_list', '<ul class="product_list_widget">' ) );
    
    			$template_args = array(
    				'widget_id'   => isset( $args['widget_id'] ) ? $args['widget_id'] : $this->widget_id,
    				'show_rating' => true,
    			);
    
    
  • /includes/widgets/class-wc-widget-recently-viewed.php line 88
    		if ( $r->have_posts() ) {
    
    			$this->widget_start( $args, $instance );
    
    			echo wp_kses_post( apply_filters( 'woocommerce_before_widget_product_list', '<ul class="product_list_widget">' ) );
    
    			$template_args = array(
    				'widget_id' => isset( $args['widget_id'] ) ? $args['widget_id'] : $this->widget_id,
    			);
    
    			while ( $r->have_posts() ) {
    
  • /includes/widgets/class-wc-widget-top-rated-products.php line 82
    		if ( $r->have_posts() ) {
    
    			$this->widget_start( $args, $instance );
    
    			echo wp_kses_post( apply_filters( 'woocommerce_before_widget_product_list', '<ul class="product_list_widget">' ) );
    
    			$template_args = array(
    				'widget_id'   => isset( $args['widget_id'] ) ? $args['widget_id'] : $this->widget_id,
    				'show_rating' => true,
    			);