woocommerce_get_product_id_by_global_unique_id

woocommerce_get_product_id_by_global_unique_id

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.2

apply_filters('woocommerce_get_product_id_by_global_unique_id') is found 1 times:

  • /includes/data-stores/class-wc-product-data-store-cpt.php line 1291
    1287
    1288
    1289
    1290
    1291
    1292
    1293
    1294
    1295
    1296
    1297
         * @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