get_select_choices()
public static function get_select_choices( $field, $value='', $support_placeholders=true )
Returns the choicse markup for the given field.
Since:
unknown3.0(Updated to use GF_Field::get_choice_option_value().)
Source: common.php:3652
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$field | GF_Field_Select | The field the markup is for. | |
$value | string | string[] | '' | The selected choice(s) |
$support_placeholders | bool | true | Indicates if the field supports placeholders. |
Returns
string