woocommerce_get_product_id_by_sku

woocommerce_get_product_id_by_sku

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_get_product_id_by_sku') is found 1 times:

  • /includes/data-stores/class-wc-product-data-store-cpt.php line 1255
    				$sku
    			)
    		);
    
    		return (int) apply_filters( 'woocommerce_get_product_id_by_sku', $id, $sku );
    	}
    
    	/**
    	 * Return product ID based on Unique ID.
    	 *
    	 * @since 9.1.0