commit
3f81bd9ff6
|
@ -510,7 +510,7 @@ class WC_Product_Variable extends WC_Product {
|
|||
* upwards (from child to parent) when the variation is saved.
|
||||
*
|
||||
* @param WC_Product|int $product Product object or ID for which you wish to sync.
|
||||
* @param bool $save If true, the prouduct object will be saved to the DB before returning it.
|
||||
* @param bool $save If true, the product object will be saved to the DB before returning it.
|
||||
* @return WC_Product Synced product object.
|
||||
*/
|
||||
public static function sync( $product, $save = true ) {
|
||||
|
|
Loading…
Reference in New Issue