Created
October 21, 2021 13:35
-
-
Save techjewel/3093cb332ce5086a7d1b59a85779070b to your computer and use it in GitHub Desktop.
Fluent Forms add custom Demo Forms
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 | |
add_filter('fluentform_predefined_forms', function ($demoForms) { | |
$demoForms['nicolas_form_1'] = array( | |
'screenshot' => '', // You may add your form screenshot here | |
'createable' => true, | |
'title' => 'Form 1 by Nicolas', | |
'tag' => ["nicolas form"], | |
'category' => 'From Nicolas', | |
'brief' => '', | |
'json' => '' // Add your Form JSON here for a single form export | |
); | |
$demoForms['nicolas_form_2'] = array( | |
'screenshot' => '', // You may add your form screenshot here | |
'createable' => true, | |
'title' => 'Form 2 by Nicolas', | |
'tag' => ["nicolas form2"], | |
'category' => 'From Nicolas', // Your form category | |
'brief' => '', | |
'json' => '' // Add your Form JSON here for a single form export | |
); | |
return $demoForms; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment