Title: Frontier Restrict Backend
Author: finnj
Published: <strong>2015 年 7 月 13 日</strong>
Last modified: 2023 年 4 月 13 日

---

搜索插件

![](https://ps.w.org/frontier-restrict-backend/assets/banner-772x250.jpg?rev=1197721)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/frontier-restrict-backend/assets/icon-256x256.jpg?rev=1197718)

# Frontier Restrict Backend

 作者：[finnj](https://profiles.wordpress.org/finnj/)

[下载](https://downloads.wordpress.org/plugin/frontier-restrict-backend.1.6.0.zip)

 * [详情](https://cn.wordpress.org/plugins/frontier-restrict-backend/#description)
 * [评价](https://cn.wordpress.org/plugins/frontier-restrict-backend/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/frontier-restrict-backend/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/frontier-restrict-backend/#developers)

 [支持](https://wordpress.org/support/plugin/frontier-restrict-backend/)

## 描述

Frontier Restrict Backend will restrict users from access to the backend (admin 
area)

#### Main Features

 * Users without the capability manage_options (Administrators) will not have access
   to the backend (admin area, and will be redirected to the home url).
 * Frontier Restrict Backend allows AJAX call such as upload files, but restricted
   users will not be allowed to access the backend area.
 * Access level chan be changed using a filter – Please see FAQ to allow authors
   and above to access the back end

#### Frontier plugins

 * [Frontier Post](https://wordpress.org/plugins/frontier-post/) – Complete frontend
   management of posts
 * [Frontier Query](https://wordpress.org/plugins/frontier-query/) – Display lists
   and groupings of posts in post/pages and widgets.
 * [Frontier Buttons](https://wordpress.org/plugins/frontier-buttons/) – Full control
   of tinymce toolbars and buttons buttons
 * [Frontier Set Featured ](https://wordpress.org/plugins/frontier-set-featured/)–
   Set featured image aut. based on post images
 * [Frontier Restrict Media ](https://wordpress.org/plugins/frontier-restrict-media/)–
   Restrict media access to users own media
 * [Frontier Restrict Backend ](https://wordpress.org/plugins/frontier-restrict-backend/)–
   Restrict access to the backend (wp-admin)

## 安装

 1. ftp the plugin to the `/wp-content/plugins/` directory or install it from plugin
    install on your site
 2. 通过WordPress的“插件”菜单激活插件

## 常见问题

You can change the level that Frontier Restrict Backend blocks, by applying a filter
in your functions.php

Per default all other than admin users are blocked, see below example of how to 
allow Admins, Editors and Authors.

 * manage_options = Administrators
 * edit_others_posts = Editors
 * publish_posts = Authors
 * edit_posts = Contributors
 * read = Subscribers

// ****- Set restrict to allow Author and above -****
 function my_restrict_backend_level(
$min_allow_capability) { return “publish_posts”; } add_filter(‘restrict_backend_min_cap’,“
my_restrict_backend_level”,10,1);

´
 The above mentioned capabilities that are allowed.

## 评价

![](https://secure.gravatar.com/avatar/26d79a720ee250d618dbbd27ef2caeb5098345ec97f2f0c8e2258d91aab8b21b?
s=60&d=retro&r=g)

### 󠀁[Cool Beans](https://wordpress.org/support/topic/cool-beans-5/)󠁿

 [tradesouthwest](https://profiles.wordpress.org/tradesouthwestgmailcom/) 2018 年
7 月 18 日

Just works.

![](https://secure.gravatar.com/avatar/4b811f3b761b2338b1a5609d12b018c2f7c2045a9befd4ab95c4924417ba1112?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-3255/)󠁿

 [ajawadger](https://profiles.wordpress.org/ajawadger/) 2016 年 9 月 3 日

Really thanks for this helpful plugin.

![](https://secure.gravatar.com/avatar/1c01884e81747d247f59ad0c8055678575020e2e3840b55d88a34dc56b7ecabd?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-7817/)󠁿

 [kathleenruth](https://profiles.wordpress.org/kathleenruth/) 2016 年 9 月 3 日

Easy to use and does exactly what is needed. Thank you!

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/frontier-restrict-backend/reviews/)

## 贡献者及开发者

「Frontier Restrict Backend」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ finnj ](https://profiles.wordpress.org/finnj/)

「Frontier Restrict Backend」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/frontier-restrict-backend/contributors)
为本插件所做的贡献。

[帮助将「Frontier Restrict Backend」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/frontier-restrict-backend)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/frontier-restrict-backend/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/frontier-restrict-backend/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/frontier-restrict-backend/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/frontier-restrict-backend/)。

## 更新日志

#### 1.6.0

 * Tested with WP 6.2
 * Tested with PHP 8

#### 1.4.1

 * Tested with WP 5.8

#### 1.4.0

 * Tested with WP 5.4

#### 1.3.5

 * Tested with WP 5.2.2 and php 7.2.2

#### 1.3.1

 * Tested with 4.9

#### 1.3.0

 * Fixed issue with Featured image by allowing bypass for async-upload.php & admin-
   ajax.php

#### 1.2.1

 * Tested with 4.7

#### 1.2.0

 * Added option to control access level from filter – see FAQ .

#### 1.1.0

 * Tested with 4.5
 * Readme update

#### 1.0.3

 * Removed error_log messages

#### 1.0.2

 * Initial release

## 额外信息

 *  版本 **1.6.0**
 *  最后更新：**3 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 6.1 或更高版本 **
 *  已测试的最高版本为 **6.2.9**
 *  PHP 版本 ** 7.4.33 或更高版本 **
 *  语言
 * [Dutch](https://nl.wordpress.org/plugins/frontier-restrict-backend/) 和 [English (US)](https://wordpress.org/plugins/frontier-restrict-backend/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/frontier-restrict-backend)
 * 标签
 * [access](https://cn.wordpress.org/plugins/tags/access/)[admin](https://cn.wordpress.org/plugins/tags/admin/)
   [backend](https://cn.wordpress.org/plugins/tags/backend/)[frontier](https://cn.wordpress.org/plugins/tags/frontier/)
 *  [高级视图](https://cn.wordpress.org/plugins/frontier-restrict-backend/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/frontier-restrict-backend/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/frontier-restrict-backend/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/frontier-restrict-backend/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/frontier-restrict-backend/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/frontier-restrict-backend/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/frontier-restrict-backend/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/frontier-restrict-backend/reviews/)

## 贡献者

 *   [ finnj ](https://profiles.wordpress.org/finnj/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/frontier-restrict-backend/)