Browse: Home / Classes / LearnDash_Settings_Fields_Timer_Entry /

LearnDash_Settings_Fields_Timer_Entry::rest_value_to_field_value

LearnDash_Settings_Fields_Timer_Entry::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 #

$val

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

Default value: ''

$key

(string) (Optional) Key field for value.

Default value: ''

$field_args

(array) (Optional) Array of field args.

Default value: array()


Source #

File: includes/settings/settings-fields/class-ld-settings-fields-timer-entry.php


Changelog #

Changelog
Version Description
3.4.0 Introduced.