LearnDash_Settings_Fields_Html::validate_section_field

LearnDash_Settings_Fields_Html::validate_section_field( mixed $val,  string $key = '',  array $args = array() )

Default validation function. Should be overriden in Field subclass.


Description #


Parameters #

$val

(mixed) (Required) Value to validate.

$key

(string) (Optional) Key of value being validated.

Default value: ''

$args

(array) (Optional) Array of field args.

Default value: array()


Return #

(mixed) $val validated value.


Source #

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


Changelog #

Changelog
Version Description
2.4 Introduced.