Browse: Home / Classes / LearnDash_Settings_Fields_Radio /


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

Convert REST submit value to internal Settings Field acceptable value.

Description #

Parameters #


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

Default value: ''


(string) (Optional) Key field for value.

Default value: ''


(array) (Optional) Array of field args.

Default value: array()

Source #

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

Changelog #

Version Description
3.3.0 Introduced.