[WordPress] 外掛分享: Unagi

首頁外掛目錄 › Unagi
WordPress 外掛 Unagi 的封面圖片
900+
安裝啟用
★★★★★
5/5 分(2 則評價)
144 天前
最後更新
問題解決
WordPress 5.0+ PHP 5.6+ v0.2.2 上架:2021-03-03

內容簡介

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 上報告錯誤和提交拉取請求。

外掛標籤

開發者團隊

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

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

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon