[Resolved] [Plugin: OptionTree] Hooks
I think adding some simple hooks into the AJAX save function and a few other places would allow developers to tie in more advanced functions into the plugin.
We have a plugin that prints out a CSS file to the theme folder (parent or child). Providing a hook in the option_tree_array_save() function on line 440.
Then in other plugins we could add functions such as
// Do something…
And simply add a call to the hook with add_action:
I think adding some simple hooks would add an unlimited variety of uses for the plugin and allow us developers to extend the processes within the save, load, export functions.
Thanks for the great plugin!
- The topic ‘[Resolved] [Plugin: OptionTree] Hooks’ is closed to new replies.