-
-
Save DevTarakanova/fbcffbeb04e2499f40375993b26ecb99 to your computer and use it in GitHub Desktop.
shortcode for gravityform
This file contains 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 | |
$form_object = get_field('your_form_field'); | |
echo do_shortcode('[gravityform id="' . $form_object['id'] . '" title="true" description="true" ajax="true"]'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment