Select
<?php
$tea_content = array(
array(
'type' => 'select',
'title' => 'Prove it: what do they mean by "Bapouet"?',
'id' => 'my_select_field_id',
'default' => 'unicorn-toy',
'description' => "Don't cheat: the movie is NOT the solution :)",
'options' => array(
'toy' => 'A simple toy',
'milk' => 'Just milk',
'unicorn-toy' => 'A unicorn toy... Very stupid :p',
'tails' => 'A red fox with a tiny cute fire tail with his blue faster hedgedog friend',
),
),
);

Retrieve data
Using the _get_option('my_select_field_id')
method, you'll get (with a json_encode()
display):
"unicorn-toy"
Updated less than a minute ago