LearnDash_Settings_Fields_Quiz_Templates_Load::validate_section_field

LearnDash_Settings_Fields_Quiz_Templates_Load::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) (Required) Key of value being validated.

$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-quiz-templates-load.php


Changelog #

Changelog
Version Description
2.4 Introduced.