- This topic has 1 reply, 2 voices, and was last updated 2 years, 4 months ago by .
Dear Metabox Support,
I have several frontend metabox forms that are being used to update/store user data, and I want to be able to see which fields have changed with its corresponding form every time a user submits this form.
Right now, I’m using the rwmb_after_save_post hook, but the get_post_meta() function only registers the fields that are not empty and have been submitted. I am looking for all the fields empty and non-empty.
I realize that I can use the $meta_boxes = RWMB_Core::get_meta_boxes(); to get all the metabox fields and iterate through them to see which have changed, but I was still wondering if there is a way to get a metabox id from a field id because I wouldn’t have to iterate through every field every time.
- You must be logged in to reply to this topic.