wsf_form_get_object

Description

The wsf_form_get_object PHP function returns a form object by form ID.

Usage

wsf_form_get_object( $form_id, $get_meta, $get_groups );

Parameters

  1. $form_id Integer
    The ID of the form object.
  2. $get_meta Boolean
    Whether to include the meta data in the returned object.
    Default value: true
  3. $get_groups Boolean
    Whether to include tab, section and field data in the returned object.
    Default value: true

Return

$form_object Form Object
The form object.