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

Make wplf-form post type unpublic #31

Closed timiwahalahti closed 8 years ago

timiwahalahti commented 8 years ago

Fixes #23 as suggested there.

There is new "Visibility" meta box with one checkbox to determine if form is publicly viewable with permalink. By default this setting is off, which means that forms are not publicly visible.

When form is not publicly visible, we do few things:

All forms can be changed to publicly visible with one go, by using new filter wplf-form-publicly-visible. It has two arguments; first one is visibility mode and second is id of form being accessed. By this way developer can also set visibility in code based to form id.