Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

KeyValueNote
namestringYour option name
descriptionstringOption description
typetext/yesno/dropdown/radio/textareaTypes defines how you select the values
optionsOption arrayOnly required for type radio/dropdown
sizeintegerSize of the text field, if type is text
defaultdefault valueConfigures the default value of the option

Example:

Code Block
languagephp
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'
                 );
}

...