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.2.3

apply_filters('wc_product_has_global_unique_id') is found 1 times:

  • /includes/wc-product-functions.php line 681
    	 * @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;
    }