WordPress at a glance
filter is not described

woocommerce_product_type_query filter-hook . WC 1.0

Allow the overriding of the lookup in this function. Return the product type here.

Usage

add_filter( 'woocommerce_product_type_query', 'filter_function_name_66', 10, 2 );
function filter_function_name_66( $false, $product_id ){
	// filter...

	return $false;
}
$false
-
$product_id
-

Where the hook is called

WC_Product_Factory::get_product_type()
woocommerce_product_type_query
woocommerce/includes/class-wc-product-factory.php 79
$override = apply_filters( 'woocommerce_product_type_query', false, $product_id );

Where the hook is used (in WC core)

Usage not found!