
內容簡介
這個外掛可以將文章、頁面或任何自訂文章類型重新導向到不同的 URL。
鉤子
Actions
redirector_uninstall – 在外掛停用時執行
redirector_metabox_begin – 開始重新導向meta box
redirector_metabox_end – 結束重新導向meta box
redirector-modal-search-begin 開始重新導向模式視窗
redirector-modal-search-end 結束重新導向模式視窗
過濾器
redirector-redirect-url – 更改附加到重新導向 URL 的查詢字符串
redirector-status-code – 重新導向狀態碼;預設為301
redirector-recent-posts – 更改最新重新導向文章的查詢
redirector-search-query – 更改重新導向搜尋查詢
redirector-meta – 更改重新導向 meta 保存
更新通知
在版本 3+ 中,我改變了儲存文章 meta 資料的資料庫處理方式。
這導致您需要在更新外掛後至少造訪一次後台。
函數 maybe_update() 將處理從舊結構到新結構的轉換。
更新外掛不應該有任何問題,如果有問題請聯絡我!
外掛標籤
開發者團隊
原文外掛簡介
Redirect posts, pages or any custom post type to a different url.
Hooks
Actions
redirector_uninstall – Runs on plugin deinstall
redirector_metabox_begin – Begin redirector meta box
redirector_metabox_end – End redirector meta box
redirector-modal-search-begin Begin redirector modal
redirector-modal-search-end End redirector modal
Filters
redirector-redirect-url – Alter the query string that is appended to redirect url
redirector-status-code – Redirect status code; default 301
redirector-recent-posts – Alter redirector recent posts query
redirector-search-query – Alter redirector search query
redirector-meta – Alter Redirector meta save
Update Notice
In version 3+ I’ve changed the database handling of storing the post meta data.
This results in that you have the visit the backend once after updating the plugin.
The function maybe_update() will handle the transition from the old structure to the newer one.
There shouldn’t be any problem updating the plugin, if so please contact me!
