Skip to main content

whitelist()

public static function whitelist( $value, $whitelist )

Whitelists a value. Returns the value or the first value in the array.

Source: common.php:7070

Parameters

NameTypeDefaultDescription
$value
$whitelist

Returns

  • mixed