Last active
February 23, 2016 21:25
-
-
Save billerickson/1585090 to your computer and use it in GitHub Desktop.
Display a Gravity Form
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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