wc_product_has_global_unique_id

wc_product_has_global_unique_id

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.2

apply_filters('wc_product_has_global_unique_id') is found 1 times:

  • /includes/wc-product-functions.php line 722
    718
    719
    720
    721
    722
    723
    724
    725
    726
    727
         * @param boolean $global_unique_id_found Whether the Unique ID is found.
         * @param int $product_id The ID of the current product.
         * @param string $sku The Unique ID to check for uniqueness.
         */
        if ( apply_filters( 'wc_product_has_global_unique_id', $global_unique_id_found, $product_id, $global_unique_id ) ) {
            return false;
        }
     
        return true;
    }