PHP code example of dannyvanholten / acf-gravityforms-add-on
1. Go to this page and download the library: Download dannyvanholten/acf-gravityforms-add-on library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dannyvanholten / acf-gravityforms-add-on example snippets
$form_id = get_field('my-form');
gravity_form($form_id);
$form = get_field('my-form');
gravity_form($form['id']);
$form_ids = get_field('my-form');
foreach($form_ids as $form_id) {
gravity_form($form_id);
}
apply_filters('acf-gravityforms-add-on/field_html', string $field_html, array $field, string $field_options, string $multiple)