Last active
October 28, 2015 20:32
-
-
Save kjohnson/05c9e8ab9c3eba465306 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 an Form Model for Form ID 1 | |
Ninja_Forms()->form( 1 )->get(); | |
// Returns an array of Form Models for All Forms | |
Ninja_Forms()->form()->get_forms(); | |
// Returns an array of Field Models for Form ID 1 | |
Ninja_Forms()->form( 1 )->get_fields(); | |
// Returns an array of Action Models for Form ID 1 | |
Ninja_Forms()->form( 1 )->get_actions(); | |
// Returns an array of Object Models for Form ID 1 | |
Ninja_Forms()->form( 1 )->get_objects(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment