Browse: Home / Classes / LearnDash_Settings_Fields /


LearnDash_Settings_Fields::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/class-ld-settings-fields.php

Changelog #

Version Description
3.3.0 Introduced.