Created
January 16, 2014 18:37
-
-
Save wpn/617e7fbfdff41edb191c to your computer and use it in GitHub Desktop.
ninja_forms_get_fields_by_form_id
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 | |
//Get all the fields that are in form 3. | |
$all_fields = ninja_forms_get_fields_by_form_id( 3 ); | |
/* | |
$all_fields will be an array in the form of: | |
array( [0] => array( 'id' = > #, 'type' => Type String (_text), form_id' => #, 'date_updated' => MySQL date string, 'data' => array( 'default_value' => 'My Value'... ) ) ) | |
'data' will be an array of all field settings. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment