<?php // $file = /home/bluedoor/www/dev/wp-content/plugins/yooessentials/modules/core/config/fields.json

return [
  'db' => [
    'name' => [
      'label' => 'Database', 
      'description' => 'The name of the database to connect to.', 
      'attrs' => [
        'placeholder' => $config->get('yooessentials.db.database')
      ]
    ], 
    'host' => [
      'label' => 'Host', 
      'attrs' => [
        'placeholder' => $config->get('yooessentials.db.host')
      ]
    ], 
    'port' => [
      'label' => 'Port', 
      'attrs' => [
        'placeholder' => $config->get('yooessentials.db.port')
      ]
    ], 
    'user' => [
      'label' => 'Username', 
      'attrs' => [
        'placeholder' => 'username'
      ]
    ], 
    'password' => [
      'label' => 'Password', 
      'encrypt' => true, 
      'attrs' => [
        'placeholder' => '******'
      ]
    ]
  ]
];
