2020-05-01 / 4082阅 / 悠然
Adds a meta field to the given post.
Post meta data is called "Custom Fields">
(int)
(Required)
Post ID.
(string)
(Required)
Metadata name.
(mixed)
(Required)
Metadata value. Must be serializable if non-scalar.
(bool)
(Optional)
Whether the same key should not be added.
Default value: false
(int|false) Meta ID on success, false on failure.