登录  /  注册
php 调用参数
客
2022-04-04 18:43:07
[PHP讨论组]

<?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)
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2024 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号