Last active
October 28, 2015 20:29
-
-
Save kjohnson/18bb21c4143b24ae3260 to your computer and use it in GitHub Desktop.
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 | |
// Returns a Field Model for Field ID 1 | |
$model = Ninja_Forms()->form()->field( 1 )->get(); | |
// Returns a Field Model for Field ID 1 | |
$model = Ninja_Forms()->form()->get_field( 1 ); | |
// Returns an array of Field Models for Form ID 1 | |
$models = Ninja_Forms()->form( 1 )->get_fields(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment