Created
October 28, 2015 19:31
-
-
Save kjohnson/68de08053c4059c0d7dd 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 Object Model for Object ID 1 | |
Ninja_Forms()->form()->object( 1 )->get(); | |
// Returns an Object Model for Object ID 1 | |
Ninja_Forms()->form()->get_object( 1 ); | |
// Returns an array of Object Models for Form ID 1 | |
Ninja_Forms()->form( 1 )->get_objects(); | |
// Returns an array of Object Models for Field ID 1 | |
Ninja_Forms()->form()->field( 1 )->get_objects(); | |
// Returns an array of Object Models for Action ID 1 | |
Ninja_Forms()->form()->action( 1 )->get_objects(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment