...
Key | Value | Note |
---|---|---|
name | string | Your option name |
description | string | Option description |
type | text/yesno/dropdown/radio/textarea | Types defines how you select the values |
options | Option array | Only required for type radio/dropdown |
size | integer | Size of the text field, if type is text |
default | default value | Configures the default value of the option |
Example:
Code Block | ||
---|---|---|
| ||
function detectmultiaccounts_blockuser_config () { return array ( 'name' => 'Create Admin Ticket', 'description' => 'Enter a client id via which you want to create the ticket notifications', 'type' => 'text', 'size' => '5' ); } |
...