true, 'read' => true, 'edit_posts' => true, 'edit_published_posts' => true, 'edit_others_posts' => true, 'publish_posts' => true, 'upload_files' => true, //允許上傳文件 'unfiltered_upload' => true, //允許上傳不安全的文件 )); $role_object = get_role( 'dq_edit' ); //為角色對象添加權限$cap $role_object->add_cap( 'edit_jihua' ); $role_object->add_cap( 'upload_files' ); ?> 103彩票|平台|官网|app下载|注册_网站入口