PHP code example of dannyvanholten / acf-ninjaforms-add-on

1. Go to this page and download the library: Download dannyvanholten/acf-ninjaforms-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-ninjaforms-add-on example snippets


$forms = get_field('my-form');

foreach($forms as $form) {
    Ninja_Forms()->display($form);
}