[WordPress] 外掛分享: Site Secrets

首頁外掛目錄 › Site Secrets
10+
安裝啟用
尚無評分
2199 天前
最後更新
問題解決
WordPress 3.6+ v0.2.0 上架:2014-02-25

內容簡介

Site Secrets 是一個簡單的 WordPress 外掛程式,可以讓您的網站保持私密性。啟用後,它會將所有尚未驗證的使用者重定向到登入畫面。

預設情況下,Site Secrets 要求使用者已被新增至網站中。您可以透過在您的佈景主題的 functions.php 檔案或多重外掛檔案中新增以下片段,以擴大權限模型至任何已登入使用者:

add_filter( 'site_secrets_requires_membership', '__return_false' );

我們樂於收到您的回饋、問題、功能建議和pull requests

外掛標籤

開發者團隊

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

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

原文外掛簡介

Site Secrets is a simple plugin to keep your WordPress site private. When active, it will redirect all unauthenticated users to the login screen.
By default, Site Secrets requires that the user has been added to the site. You can broaden the permissions model to any logged-in users with the following snippet added to your theme’s functions.php file or a mu-plugin:
add_filter( 'site_secrets_requires_membership', '__return_false' );

We’re happy to receive feedback, questions, feature suggestions, and pull requests

延伸相關外掛

文章
Filter
Apply Filters
Mastodon