Deletes a post meta field for the given post ID.

delete_post_meta( int , string , mixed = ” )

(int) (Required) Post ID.

(string) (Required) Metadata name.

(mixed) (Optional) Metadata value. If provided, rows will only be removed that match the value. Must be serializable if non-scalar.

Default value: ”

(bool) True on success, false on failure.

Leave a Comment

Your email address will not be published. Required fields are marked *