libreform / wp-libre-form

Easy native HTML5 forms for WordPress. Version 1.5 is unmaintained, but works without issue. 2.0 has been rewritten from the ground, and can be found at https://github.com/libreform/libreform
https://wordpress.org/plugins/wp-libre-form
GNU General Public License v3.0
67 stars 27 forks source link

2.0 #176

Closed k1sul1 closed 4 years ago

k1sul1 commented 4 years ago

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.

k1sul1 commented 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.

wp-libre-form.zip

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.