Celebrate WordCamp Asia! - 30% OFF with coupon WC30 at checkout - Terms

wsf_field_get_objects_by_label

Description

The wsf_field_get_objects_by_label PHP function return field objects that have a particular label.

Usage

wsf_field_get_objects_by_label( $form_object, $field_label );

Parameters

  1. $form_object Form Object
    The form object.
  2. $field_label String
    The field label to search for.

Return

$field_array Array
An array of field objects that have the label specified. Exception thrown if no fields found.