2020-05-01 / 5971阅 / 悠然
Retrieves metadata for the specified object.
(string)
(Required)
Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.
(int)
(Required)
ID of the object metadata is for.
(string)
(Optional)
Metadata key. If not specified, retrieve all metadata for the specified object.
Default value: ''
(bool)
(Optional)
If true, return>Default value: false
(mixed) Single metadata value, or array of values