Browse: Home / Classes / LearnDash_Settings_Section_Payments_Defaults /

LearnDash_Settings_Section_Payments_Defaults::validate_currency

LearnDash_Settings_Section_Payments_Defaults::validate_currency( string $val,  string $key,  array $args = array() )

Validate Settings Currency field.


Description #


Parameters #

$val

(string) (Required) to be validated.

$key

(string) (Required) Settings key.

$args

(array) (Optional) Settings field args.

Default value: array()


Return #

(string) $val.


Source #

File: includes/settings/settings-sections/class-ld-settings-section-payments-defaults.php


Changelog #

Changelog
Version Description
4.1.0 Introduced.