给WordPress投稿者用户添加/移除上传文件权限代码分享如下: 添加权限: if ( current_user_can('contributor') && !current_user_can('upload_files') ) add_action('admin_init', 'allow_contributor_u...