Updated Creating Plugins (markdown)
parent
5a3c8eb1c8
commit
f80d2234e3
|
@ -181,20 +181,24 @@ Deletes some saved data for plugin `pluginName` with key `key`.
|
|||
|
||||
***
|
||||
|
||||
#### `disableSetting(id)`
|
||||
#### `disableSetting([collection,] category, id)`
|
||||
Disables a BBD setting by id.
|
||||
|
||||
|Parameter|Type|Description|
|
||||
|-|-|:-|
|
||||
|`collection`|string|Id for the setting. Default: `settings`|
|
||||
|`category`|string|Id for the setting.|
|
||||
|`id`|string|Id for the setting.|
|
||||
|
||||
***
|
||||
|
||||
#### `enableSetting(id)`
|
||||
#### `enableSetting([collection,] category, id)`
|
||||
Enables a BBD setting by id.
|
||||
|
||||
|Parameter|Type|Description|
|
||||
|-|-|:-|
|
||||
|`collection`|string|Id for the setting. Default: `settings`|
|
||||
|`category`|string|Id for the setting.|
|
||||
|`id`|string|Id for the setting.|
|
||||
|
||||
***
|
||||
|
|
Loading…
Reference in New Issue