old codestar text field
array(
'id' => 'unique_option_101', // this is must be unique
'type' => 'text',
'title' => 'Text Field',
),
3.8
10
array(
'id' => 'unique_option_102', // another unique id
'type' => 'text',
'title' => 'Another Text Field',
'desc' => 'This is an option',
'help' => 'Write something',
'default' => 'do stuff',
),
Thank you!
10
0
Are there any code examples left?
New code examples in category PHP