Skip to content

Instantly share code, notes, and snippets.

@billerickson
Last active Feb 23, 2016
Embed
What would you like to do?
Display a Gravity Form
<?php
/**
* Display a Gravity Form
* @author Bill Erickson
* @link http://www.billerickson.net/code/display-a-gravity-form
*
* @param int $id the form ID
* @param bool $display_title, default is true
* @param bool $display_description, default is true
* @param bool $display_inactive, default is false
* @param array $field_values, default is null
* @param bool $ajax, default is false
* @param int $tabindex, default is 1
* @param bool $echo, default is false
*/
gravity_form( $id, $display_title, $display_description, $display_inactive, $field_values, $ajax, $tabindex, $echo );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment