EDD_Customer::get_meta( string $meta_key = '', bool $single = true )
Retrieve customer meta field for a customer.
Description Description
Parameters Parameters
- $meta_key
-
(Optional) The meta key to retrieve.
Default value: ''
- $single
-
(Optional) Whether to return a single value.
Default value: true
Return Return
(mixed) Will be an array if $single is false. Will be value of meta data field if $single is true.
Source Source
File: includes/class-edd-customer.php
Changelog Changelog
Version | Description |
---|---|
2.6 | Introduced. |