[WordPress] 外掛分享: Redirect Front-end

首頁外掛目錄 › Redirect Front-end
全新外掛
安裝啟用
尚無評分
4571 天前
最後更新
問題解決
WordPress 3.6+ v0.1 上架:2013-09-11

內容簡介

這是一個小型的 WordPress 外掛,可以讓你「隱藏」網站的前端,所有已登入使用者的前端請求會被重新導向到 WordPress 後台 (可透過過濾器調整)。
這個外掛尤其對開發人員有用,如果你正在開發一個網站並希望讓使用者在你處理前端時可以進入後台查看。此外,如果你有一個沒有前端的網站,也可以用來讓使用者總是停留在後台。
此外,該外掛還包含以下過濾器:
- `rfe_redirect_caps`:控制繞過重定向所需的功能,預設讓管理員可以進入前端 (預設:`manage_options`)
- `rfe_redirect_url`:更改重新導向的 URL (預設:`admin_url()`)

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Redirect Front-end」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

A small plugin that lets you “hide” the front-end of a site, all front-end requests of logged-in users are redirected to the WP Dashboard (filterable).
Useful mainly for developers, if you’re developing a site and want to give users access to see the dashboard while you’re working on the front-end. Also can be used if you have a site with no front-end and always want users to stay on the dashboard.
Filters included:

rfe_redirect_caps: Control capabilities required to bypass redirect, lets Administrators access front-end by default (default: manage_options)
rfe_redirect_url: Change the redirect URL (default: admin_url())

延伸相關外掛

文章
Filter
Apply Filters
Mastodon