snipt

Ctrl+h for KB shortcuts

PHP

Gravity Form template embed

1
2
3
<?php
// https://www.gravityhelp.com/documentation/article/embedding-a-form/
gravity_form( $id_or_title, $display_title = true, $display_description = true, $display_inactive = false, $field_values = null, $ajax = false, $tabindex, $echo = true );
https://snipt.net/embed/93cb517d119e3060a2a3bf833963cfce/
https://snipt.net/raw/93cb517d119e3060a2a3bf833963cfce/
93cb517d119e3060a2a3bf833963cfce
php
PHP
4
2016-09-28T15:04:07
True
False
False
Feb 16, 2016 at 10:54 AM
/api/public/snipt/144189/
gravity-form-template-embed
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="cp">&lt;?php</span> </span><span id="L-2"><a name="L-2"></a><span class="c1">// https://www.gravityhelp.com/documentation/article/embedding-a-form/</span> </span><span id="L-3"><a name="L-3"></a><span class="nx">gravity_form</span><span class="p">(</span> <span class="nv">$id_or_title</span><span class="p">,</span> <span class="nv">$display_title</span> <span class="o">=</span> <span class="k">true</span><span class="p">,</span> <span class="nv">$display_description</span> <span class="o">=</span> <span class="k">true</span><span class="p">,</span> <span class="nv">$display_inactive</span> <span class="o">=</span> <span class="k">false</span><span class="p">,</span> <span class="nv">$field_values</span> <span class="o">=</span> <span class="k">null</span><span class="p">,</span> <span class="nv">$ajax</span> <span class="o">=</span> <span class="k">false</span><span class="p">,</span> <span class="nv">$tabindex</span><span class="p">,</span> <span class="nv">$echo</span> <span class="o">=</span> <span class="k">true</span> <span class="p">);</span> </span></pre></div> </td></tr></table>
"gravity forms", php
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.