EDD_Discount::get_meta( string $key = '', bool $single = true )
Helper method to retrieve meta data associated with the discount.
Description Description
Parameters Parameters
- $key
-
(Optional) Meta key.
Default value: ''
- $single
-
(Optional) Return single item or array.
Default value: true
Source Source
File: includes/class-edd-discount.php
Changelog Changelog
Version | Description |
---|---|
2.7 | Introduced. |