Skip to main content

get_field_input()

public static function get_field_input( $field, $value='', $lead_id=0, $form_id=0, $form=null )

Returns the HTML for the field input(s).

Since:

  • unknown
  • 3.0.0 (Updated to use the adminonly_hidden context property insteade of inputType.)

Source: common.php:3874

Parameters

NameTypeDefaultDescription
$fieldGF_Field
$valuestring''
$lead_idint0
$form_idint0
$formnullnull

Returns

  • mixed | string | void