%3$s', 0, ( $already_chosen ? 'selected' : '' ), $label ); $output = str_replace( '', $option, $output ); return $output; } }