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 Description


Parameters Parameters

$val

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

Default value: ''

$key

(Optional) Key field for value.

Default value: ''

$field_args

(Optional) Array of field args.

Default value: array()


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.