woocommerce_get_product_id_by_global_unique_id
woocommerce_get_product_id_by_global_unique_id
Hook Type: filter
Displaying hooks found in version: woocommerce.9.3.1apply_filters('woocommerce_get_product_id_by_global_unique_id') is found 1 times:
- /includes/data-stores/class-wc-product-data-store-cpt.php line 1215
* @since 9.1.0 * @param mixed $id List of post statuses. * @param string $global_unique_id Unique ID. */ return (int) apply_filters( 'woocommerce_get_product_id_by_global_unique_id', $id, $global_unique_id ); } /** * Returns an array of IDs of products that have sales starting soon. * * @since 3.0.0