<?php $general_option = get_option('ashuwp_jjt'); ?>
<?php print_r ($general_option['input_upload_multiple'])?>
得到Array (? ? [1] => Array ? ? ?? ( ? ? ? ? ? ?[image] => http://localhost/wp-content/uploads/2022/03/3201aaab25fe57a644284db295182f4-1.jpg ? ? ? ?)? ? ?[2] => Array ? ? ?? ( ? ? ? ? ? ?[image] => http://localhost/wp-content/uploads/2022/03/深黃色.png ? ? ? ?) )怎么才能獲取到image后邊的值后臺(tái)
$jj_page_option[] = array(
? 'name' => '多個(gè)',
? 'id'? ?=> 'input_upload_multiple',
? 'desc' => 'Set the type as group, Set the subtype as array, And set the multiple as true, The group fields is multiple.',
? 'std'? => '',
? 'subtype' => array(
? ? array(
? ? ? 'name' => 'Image',
? ? ? 'id'? ?=> 'image',
? ? ? 'desc' => 'Pleas upload a image, Or fill the blank with image uri.',
? ? ? 'std'? => '',
? ? ? 'button_text' => 'Upload',
? ? ? 'type' => 'upload'
? ? ),
? ),
? 'multiple' => true,
? 'type' => 'group'
);