[WordPress] 外掛分享: Unagi

WordPress 外掛 Unagi 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Unagi」是 2021-03-03 上架。
  • 目前有 600 個安裝啟用數。
  • 上一次更新是 2025-04-12,距離現在已有 21 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

m_uysl | handyplugins |

外掛標籤

nags | admin notice | notification |

內容簡介

Unagi 是一個 WordPress 外掛,能協助保持管理儀表板的整潔。這是一個零配置的外掛,只需啟用就可以擺脫煩人的提示。

它如何運作?

它會緩存所有掛鉤到 admin_notices 動作的輸出,然後在專門的通知頁面中顯示。

限制和技巧

如果只有針對特定頁面添加通知消息,它將不會顯示在通知頁面上。您可以使用 unagi_show_diff 過濾器以允許顯示非全局消息。
預設情況下,外掛只尊重具有「notice」類別的通知訊息。大多數外掛使用「notice」類別作為輸出的包裝。您可以使用 unagi_xpath_expression 過濾器來自定義目標 xpath。
edit_posts 是預設權限。您可以使用 unagi_required_capability 過濾器來覆寫。
預設情況下,外掛將輸出保存在用戶資料中並渲染已保存的輸出。如果您需要避免資料庫調用,可以使用 unagi_show_notifications_nicely 過濾器。

Unagi - 「它不是你的一部分,它是你所擁有的。」

如果喜歡我們的 Unagi 外掛,可以考慮檢查我們的其他項目:

Magic Login Pro – 為 WordPress 提供易於、安全且無需密碼的驗證。
Handywriter – 基於 AI 的撰寫助手,可協助您創建 WordPress 內容。
PaddlePress PRO – 針對 WordPress 的 Paddle 外掛

貢獻與錯誤報告

歡迎在 Github 上報告錯誤和提交拉取請求。

原文外掛簡介

Unagi is a WordPress plugin that helps keep the admin dashboard clean. It’s a zero-configuration plugin; just activate and get rid of the nags.
How does it work?
It buffers all the output that hooked into admin_notices action and then displays it within a dedicated notification page.
Limitations & Tips

If, there is a notification message only added for a particular page. It won’t be displayed on the notifications page. You can use unagi_show_diff filter to allow displaying non-global messages.
The plugin only respects notifications messages that have “notice” class by default. Most of the plugins use “notice” class as a wrapper of the output. You can use unagi_xpath_expression filter to customize targered xpath.
edit_posts is the default capability. It can be overridden with unagi_required_capability filter.
By default, plugin saves the output in the usermeta and renders saved output. If you need to avoid DB calls, you can use unagi_show_notifications_nicely filter.

Unagi – “It’s not something you are , it’s something you have.”

If you like our Unagi plugin, then consider checking out our other projects:

Magic Login Pro – Easy, secure, and passwordless authentication for WordPress.
Easy Text-to-Speech for WordPress – Transform your textual content into high-quality synthesized speech with Amazon Polly.
Handywriter – AI-powered writing assistant that can help you create content for your WordPress.
PaddlePress PRO – Paddle Plugin for WordPress
Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score.
WP Accessibility Toolkit – A collection of tools to help you make your WordPress more accessible.

Contributing & Bug Report
Bug reports and pull requests are welcome on Github.

各版本下載點

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

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


0.2 | 0.1.0 | 0.1.1 | 0.1.2 | 0.1.3 | 0.1.4 | 0.1.5 | 0.2.1 | trunk |

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

  • WP Nag Hide 》如果插件通知和內嵌警告妨礙了您的操作,啟用 WP Nag Hide Plugin,就可以選擇在管理面板中隱藏更新通知和插件警告。該插件僅隱藏管理頁面頂部的通知,不會隱...。
  • WPS Notice Center 》中文, WPS Notice Center 可以隱藏所有的管理提示,並將它們組合成一個可展開的單個提示,讓您完全享受 WordPress 介面而不受視覺污染。, 我們的所有擴充功能...。
  • SimDex Toggle WP Admin Notifications 》這個 WordPress 外掛可以預設隱藏管理者儀表板中的煩人通知、提示、警告、錯誤、橫幅、更新、提示、提醒、廣告等等訊息,並新增一個切換按鈕可在點選一下開啟...。

文章
Filter
Apply Filters
Mastodon