2020-05-01 / 3996阅 / 悠然
Deletes 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)
(Required)
Metadata key.
(mixed)
(Optional)
Metadata value. Must be serializable if non-scalar. If specified,>Default value: ''
(bool)
(Optional)
If true, delete matching metadata entries for all objects, ignoring the specified object_id. Otherwise,>Default value: false
(bool) True on successful delete, false on failure.