Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
// Returns an Submission Model for Submission ID 1
Ninja_Forms()->form()->sub( 1 )->get();
// Returns an Submission Model for Submission ID 1
Ninja_Forms()->form()->get_sub( 1 );
// Returns an array of Submission Models for Form ID 1
Ninja_Forms()->form( 1 )->get_subs();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment