Modify meta data before saving to database


Is there a way in wordpress to modify meta values before they are stored to the database? At first I thought I could do it with the "update_post_metadata" filter but unfortunately this filter does not work like other filters.

A workaround would be to store the values to a different meta data field in the update_post_metadata filter but it would be better if there would be another way.

huda 1 year 2022-11-04T08:48:00-05:00 0 Answers 0 views 0

Leave an answer