Closed k1sul1 closed 4 years ago
The plugin should "just work" if you install this zip, feel free to test it out. There will be bugs. If I didn't make myself clear enough, this is not ready for production use. It's almost there though.
All of the filters and actions have been at least renamed, bunch were removed and some were added. Those of you who build custom things with WPLF, please let me know if you think there should be an action or filter somewhere where it isn't, or if a name sucks and needs changing. Names aren't changing after releasing 2.0, so the time is now.
The PHP api is exposed under the global function libreform, which returns the plugin instance. The instance contains "subclasses" that can be accessed like this; libreform()->io->getFormSubmissions($form, $page)
. All public methods are game by default, but I'll keep the right to say "don't use that in your code" for now.
Rewritten from scratch. Don't read the diffs, browse the code, read the README and other .mds;
Still work in progress. If anyone feels like they have too much time on their hands and wants to help, ping me.
Translations are broken at the moment but there's no point in fixing them yet, as the strings might still change.