EDD_Discount::update( array $args )
Update an existing discount in the database.
Description Description
Parameters Parameters
- $args
-
(Required) Discount details.
Return Return
(mixed) bool|int false if data isn't passed and class not instantiated for creation, or post ID for the new discount.
Source Source
File: includes/class-edd-discount.php
Changelog Changelog
Version | Description |
---|---|
2.7 | Introduced. |