wordpress が年、月、日の配列を保存しないようにしたい。JavaScript を使用して 3 を非表示の入力の 1 つの値に結合するため、3 をデータベースに格納する必要はありません。どうすればいいですか?
$meta_box = array(
'id' => 'global-releasedate',
'title' => 'Releasedate',
'page' => 'films',
'context' => 'normal',
'priority' => 'high',
'fields' => array(
array(
'name' => '',
'id' => $prefix . 'airdate',
'type' => 'hidden',
'std' => ''
),
array(
'name' => 'Year',
'id' => $prefix . 'year',
'type' => 'select',
'options' => $years,
),
array(
'name' => 'Month',
'id' => $prefix . 'month',
'type' => 'select',
'options' => $months,
),
array(
'name' => 'Day',
'id' => $prefix . 'day',
'type' => 'select',
'options' => $days,
),
));