dekodeinteraktiv/hogan-form

Form Module for Hogan, requires Gravity Forms, Contact Form 7 or Ninja Forms.

Installs: 11 000

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 9

Forks: 0

Open Issues: 1

Type:wordpress-plugin

1.1.3 2018-08-17 11:44 UTC

This package is auto-updated.

Last update: 2024-05-12 18:19:14 UTC


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];
});