Browse: Home / Classes / LearnDash_Settings_Fields_Radio /

LearnDash_Settings_Fields_Radio::rest_value_to_field_value

LearnDash_Settings_Fields_Radio::rest_value_to_field_value( mixed $val = '',  string $key = '',  $field_args = array() )

Convert REST submit value to internal Settings Field acceptable value.


Description #


Parameters #

$val

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

Default value: ''

$key

(string) (Optional) Key field for value.

Default value: ''

$fields_args

(array) (Required) Array of field args.


Source #

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


Changelog #

Changelog
Version Description
3.3.0 Introduced.