WordPress at Your Fingertips
function is not described

WC_Product_Data_Store_Interface::is_existing_sku() public WC 1.0

Check if product sku is found for any other product IDs.

{} It's a method of the class: WC_Product_Data_Store_Interface{}

No Hooks.

Return

true|false.

Usage

$WC_Product_Data_Store_Interface = new WC_Product_Data_Store_Interface();
$WC_Product_Data_Store_Interface->is_existing_sku( $product_id, $sku );
$product_id(int) (required)
Product ID.
$sku(string) (required)
SKU.

Code of WC_Product_Data_Store_Interface::is_existing_sku() WC 5.8.0

public function is_existing_sku( $product_id, $sku );