php 调用参数
客
2022-04-04 18:43:07
0
0
1007

<?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后边的值后台

$jj_page_option[] = array(

  'name' => '多个',

  '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'

);

客

全部回复(0)
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板