Unit Tests: updated product class doc.

This commit is contained in:
Barry Kooij 2014-10-28 11:53:36 +01:00
parent db4eb9a2c6
commit 4a6b880a41
1 changed files with 12 additions and 0 deletions

View File

@ -1,7 +1,19 @@
<?php
/**
* Class WC_Helper_Product
*
* This helper class should ONLY be used for unit tests!
*/
class WC_Helper_Product {
/**
* Delete a product
*
* @param $product_id
*
* @todo check for variations, attributes, etc.
*/
public static function delete_product( $product_id ) {
/**