woocommerce_product_query

woocommerce_product_query

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_product_query') is found 1 times:

  • /includes/class-wc-query.php line 545
    		// Additional hooks to change WP Query.
    		self::add_filter( 'posts_clauses', array( $this, 'product_query_post_clauses' ), 10, 2 );
    		add_filter( 'the_posts', array( $this, 'handle_get_posts' ), 10, 2 );
    
    		do_action( 'woocommerce_product_query', $q, $this );
    	}
    
    	/**
    	 * Add extra clauses to the product query.
    	 *
    	 * @param array    $args Product query clauses.