ninja_forms_get_fields_by_form_id

Type: Function
Accepted Parameters: form_id, (Optional – orderby – a MySQL ORDER BY statement.)

Return: Array() containing all the fields attached to form_id

This function is used to get all the fields from a specified form.

Example: