Hube2 / acf-options-page-adder

Easy creation of options pages for ACF Pro
62 stars 14 forks source link

Store settings in post_content #42

Closed Hube2 closed 7 years ago

Hube2 commented 7 years ago

Improve performance by saving options page settings as a serialized array in post_content. Instead of building the option page array when adding the options pages, build the array when the post is saved and then load it directly from the post content before adding. This will reduce performance when saving an options page but will increase performance of admin loading.