Mods::to_json( string $key, mixed $default = false, bool $as_array = true )

Get and transform setting to json.


Parameters

$key

(Required) Key name.

$default

(Optional) Default value.

Default value: false

$as_array

(Optional) As array or Object.

Default value: true


Return

(mixed)


Source

File: inc/core/settings/mods.php