I have some post meta entries which I like to delete from the database. The delete_post_meta() function seems the way to go:
delete_post_meta( int $post_id, string $meta_key, mixed $meta_value = '' )
The problem: I have many entries with the same meta_key, so I'd like to specify the rows to be deleted by meta_value. But, the meta_value is serialized data. So how do I use
delete_post_meta() to delete the post_meta by a specific value of the specialized data?
For example, the serialized data:
How do I delete by serialized ID value?