settings
Last updated
Last updated
*
Get a value for a specific setting. Return null, or default value when specified when not existing.
Param | Type | Default | Description |
---|---|---|---|
boolean
Set a value for a specific setting, transformed into JSON. Returns true on success, false on failure.
Param | Type | Description |
---|---|---|
boolean
Delete a specific setting. Returns true on success, false on failure.
*
Retrieve all settings stored. Returns false on failure, object on success.
Param | Type |
---|---|
Param | Type | Description |
---|---|---|
namespace
String
Required - Plugin name, or namespace of saved setting value
key
String
Required - Key where setting is saved
defaultValue
*
`null`
Default return value if key is not found in namespace
namespace
String
Required - Plugin name or custom namespace where to save setting
key
String
Required - Which key to use to save setting value
value
*
Required - Value of setting
namespace
String
key
String
namespace
String
Required - Plugin name or custom namespace where to save setting