woocommerce_recently_viewed_products_widget_query_args

woocommerce_recently_viewed_products_widget_query_args

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_recently_viewed_products_widget_query_args') is found 1 times:

  • /includes/widgets/class-wc-widget-recently-viewed.php line 82
    				),
    			); // WPCS: slow query ok.
    		}
    
    		$r = new WP_Query( apply_filters( 'woocommerce_recently_viewed_products_widget_query_args', $query_args ) );
    
    		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">' ) );