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


Top ↑

Return Return

(mixed) Will be an array if $single is false. Will be value of meta data field if $single is true.


Top ↑

Source Source

File: includes/class-edd-customer.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.6 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.