Browse: Home / Classes / LearnDash_Settings_Fields_Multiselect /

LearnDash_Settings_Fields_Multiselect::field_value_to_rest_value

LearnDash_Settings_Fields_Multiselect::field_value_to_rest_value( mixed $val,  string $key,  array $field_args,  object $request )

Convert Settings Field value to REST value.


Description #


Parameters #

$val

(mixed) (Required) Value from REST to be converted to internal value.

$key

(string) (Required) Key field for value.

$field_args

(array) (Required) Array of field args.

$request

(object) (Required) Request object.


Source #

File: includes/settings/settings-fields/class-ld-settings-fields-multiselect.php


Changelog #

Changelog
Version Description
3.3.0 Introduced.