Code Cleanup.
Changed the method for getting all fields from using a processing global to the ninja_forms_get_fields_by_form_id() function.