woocommerce_get_product_id_by_global_unique_id
woocommerce_get_product_id_by_global_unique_id
Appears in: woocommerce.9.2.2, woocommerce.9.2.3, woocommerce.9.3.1, woocommerce.9.3.3, woocommerce.9.4.2, woocommerce.9.4.3, woocommerce.9.5.1, woocommerce.9.5.2
Hook Type: filter
Displaying hooks found in version: woocommerce.9.5.2apply_filters('woocommerce_get_product_id_by_global_unique_id') is found 1 times:
- /includes/data-stores/class-wc-product-data-store-cpt.php line 129112871288128912901291129212931294129512961297
* @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