Revert Back?
-
Hi, regarding the single meta revert back.
On your website, it says“Revert Back
It is possible to revert back to the native ACF save process. To do so, keep the feature enabled, get in the post administration you want to revert back. Disable the feature in your code, and save the post. All data will be saved back to individual meta data.”This does not seem to work at all.
Is it because you’re hooking to ‘acf/init’?
If, like you say, we disable the code (the filter) once we’re in edit mode.
acf/init has already triggered, so deactivating the filter will not revert anything when we click on “update”.I tried
1) Disabling the filter. Does not work. Does not revert back to individual meta data.
2) Leaving the filter as is, but set acf_update_setting(‘acfe/modules/single_meta’) to false. Does not work. Does not revert back to individual meta data.
3) Hook on pre_post_update, save_post, acf/save_post and acf/validate_save_post to also set acf_update_setting(‘acfe/modules/single_meta’) to false. Does not work. Does not revert back to individual meta data.What am I doing wrong?
- The topic ‘Revert Back?’ is closed to new replies.