內容簡介
Site Secrets 是一個簡單的 WordPress 外掛程式,可以讓您的網站保持私密性。啟用後,它會將所有尚未驗證的使用者重定向到登入畫面。
預設情況下,Site Secrets 要求使用者已被新增至網站中。您可以透過在您的佈景主題的 functions.php 檔案或多重外掛檔案中新增以下片段,以擴大權限模型至任何已登入使用者:
add_filter( 'site_secrets_requires_membership', '__return_false' );
我們樂於收到您的回饋、問題、功能建議和pull requests
外掛標籤
開發者團隊
原文外掛簡介
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
