2020-05-01 / 2917阅 / 悠然
Retrieves a post meta field for the given post ID.
(int)
(Required)
Post ID.
(string)
(Optional)
The meta key to retrieve. By default, returns data for all keys.
Default value: ''
(bool)
(Optional)
If true, returns>Default value: false
(mixed) Will be an array if $single is false. Will be value of the meta field if $single is true.