Docs

evf_selected( string|int $value, string|int|array $options ): string

Return the html selected attribute if stringified $value is found in array of stringified $options or if stringified $value is the same as scalar stringified $options.

Parameters

$valuestring|intrequired
Value to find within options.
$optionsstring|int|arrayrequired
Options to go through when looking for value.

Return

string