valendesigns/option-tree — pull request #127 by valendesigns (2014-05-22 09:22:54+00:00)
Title: Feature Request: WP_Customize

Hi Derek,

I'm a ThemeForest author just starting to sell WP Themes. After looking through other options framework, I found out that OptionTree is the best looking options framework with the cleanest code!

However I'm using OptionTree along with WP_Customize, and this leads to confusion while getting the options through the theme. Some options are from WP_Customize and some are from OptionTree.

FYI, I'm separating the options that doesn't have anything to do with the looks of the theme into OptionTree, or WP_Customize otherwise.

Is there any way to make OptionTree able to read the options defined by WP_Customize?
I've already tried putting the WP_Customize results in the option_tree field, but upon saving OptionTree overrides the whole options.

Do you think it's a good idea to make OptionTree only updates the option being saved, like in the WP_Customize API? I digged through wp-includes/class-wp-customize-manager.php and this is not that hard to implement.

OptionTree doesn't have to know anything about the options added by WP_Customize, but it should be able to read it in other words.

Thanks!