dekodeinteraktiv / hogan-form
Form Module for Hogan, requires Gravity Forms, Contact Form 7 or Ninja Forms.
Installs: 11 488
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 8
Forks: 0
Open Issues: 2
Type:wordpress-plugin
Requires
- php: >=7.0
- composer/installers: ~1.2
- dekodeinteraktiv/hogan-core: >=1.1.7
Requires (Dev)
README
Installation
Install the module using Composer composer require dekodeinteraktiv/hogan-form
or simply by downloading this repository and placing it in wp-content/plugins
Usage
Currently supports Gravity Forms, Contact Form 7, Ninja Forms and MailPoet Forms.
Available filters
hogan/module/form/gravity_forms/options
for passing args to the Gravity Forms' render function.
//default values
$gs_defaults = [
'display_title' => true,
'display_description' => true,
'display_inactive' => false,
'field_values' => null,
'ajax' => false,
'tabindex' => 1,
];
Options returned from the filter will be merged with defaults using wp_parse_args()
add_filter('hogan/module/form/gravity_forms/options', function() {
return ['display_title' => false];
});