[WordPress] 外掛分享: Login Redirection Link

前言介紹

  • 這款 WordPress 外掛「Login Redirection Link」是 2014-04-17 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2014-10-26,距離現在已有 3846 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.5 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

plocha |

外掛標籤

link | login | logout | loginout | redirect |

內容簡介

這個外掛會在前端的所有登入和登出連結中加入「redirect_to」參數,其值為目前網站的 URL。因此,當您登入或登出後,會被重新導向到該網站。但如果該連結已包含「redirect_to」參數,則此外掛不會進行更改。

這個外掛只會影響前端的連結,不會觸及 wp-login.php 和後台管理頁面的連結。

這個外掛在 login_url 與 logout_url 上新增了一個鉤子。您的程式碼必須呼叫使用這些篩選器的函數。例如 wp_loginout。

原文外掛簡介

The plugin adds the ‘redirect_to’ parameter to all login and logout links in front-end. The value is the URL of the current site. Thus you’re redirected to that site after login respectively logout. But if a link contains already a ‘redirect_to’ parameter, the plugin doesn’t change it.
The Plugin affects only the links in front-end. These in wp-login.php and in admin back-end aren’t touched.
The plugin hooks into login_url and logout_url. Your code has to call functions which make use of that filters. For example wp_loginout.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Login Redirection Link」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon