Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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