woocommerce_get_product_id_by_sku

woocommerce_get_product_id_by_sku

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_get_product_id_by_sku') is found 1 times:

  • /includes/data-stores/class-wc-product-data-store-cpt.php line 1038
    				$sku
    			)
    		);
    
    		return (int) apply_filters( 'woocommerce_get_product_id_by_sku', $id, $sku );
    	}
    
    	/**
    	 * Returns an array of IDs of products that have sales starting soon.
    	 *
    	 * @since 3.0.0