[WordPress] 外掛分享: WooCom Account Widget

首頁外掛目錄 › WooCom Account Widget
全新外掛
安裝啟用
尚無評分
3103 天前
最後更新
問題解決
WordPress 4.0.0+ PHP 5.6+ v1.0.0 上架:2017-10-12

內容簡介

本外掛提供一個小工具,可以幫助使用者在小工具上登入,同時在前端顯示各種 WooCommerce 數據。它是針對開發人員開發的,提供了一些過濾器和動作鉤子,以操作關於此小工具的數據。這將幫助開發人員修改小工具以及明確修改小工具數據。最後,這個外掛程式是根據 WordPress VIP 編碼標準開發的,並通過 PHPCodesniffer 檢查,所以您可以信任這個外掛程式的編碼結構。

需求

WordPress 4.0
PHP >= 5.6
WooCommerce >= 2.0.0

特性

大量過濾器和動作鉤子。
良好的文檔代碼。
使用 WordPress VIP 編碼標準經 PHPCodesniffer 檢查。
採用現代 PHP 開發方法。
已翻譯成14種語言。

文檔

以下是本插件提供的鉤子文檔:

過濾器

woocom_aw_parent_construct_id_base => 小工具父構造函數 ID base 過濾器鉤子名稱

woocom_aw_parent_construct_name => 小工具父構造函數名稱過濾器鉤子名稱

woocom_aw_parent_construct_options => 小工具父構造功能選項過濾器鉤子名稱

woocom_aw_args_filter => Widget args 過濾器鉤子名稱

woocom_aw_instance_filter => Widget instance 過濾器鉤子名稱

woocom_aw_login_form_args_filter => 登入表單參數過濾器鉤子名稱

woocom_aw_lost_pass_url => 忘記密碼連結過濾器鉤子名稱

動作

woocom_aw_before_login_form => 在登入表單之前執行的動作

woocom_aw_after_login_form => 在登入表單後面執行的動作

woocom_aw_below_before_widget => 在 $args['before_widget'] 下面執行的動作

woocom_aw_above_after_widget => 在 $args['after_widget'] 上方執行的動作

我正在考慮在此插件中添加更多鉤子。如果您有任何想法,請通過論壇或直接發送電子郵件到 [email protected][email protected] 與我分享。

您還可以通過 WordPress.org 的 SVN 存儲庫對本插件進行貢獻,同時也可以在此 GitHub 存儲庫上進行貢獻。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WooCom Account Widget」→ 直接安裝(推薦)

原文外掛簡介

This plugin provides a widget which will help user to login at widget as well as show various WooCommerce data in frontend. It is developed thinking about developers. Some filters and actions hook are provided to manipulate data regarding only this widget. That will help developers to modify the widget as well as modify the widget data explicitly. Lastly this plugin is developed following most of the rules for WordPress VIP coding standard and checked by PHPCodesniffer. So you can trust on the coding structure of this plugin.
Requirements

WordPress 4.0
PHP >= 5.6
WooCommerce >= 2.0.0

Features

Lots of filter and action hooks.
Well documented code.
Checked by PHPCodesniffer with WordPress VIP coding standard.
Followed modern PHP development approach.
Already translated to 14 languages.

Documentation
Here are some documentation for the provided hooks in this plugin-
Filters

woocom_aw_parent_construct_id_base => Widget parent construct ID base filter hook.

woocom_aw_parent_construct_name => Widget parent construct name filter hook.

woocom_aw_parent_construct_options => Widget parent construct options filter hook.

woocom_aw_args_filter => Widget args filter hook.

woocom_aw_instance_filter => Widget instance filter hook.

woocom_aw_login_form_args_filter => Login form arguments filter hook.

woocom_aw_lost_pass_url => Lost password url filter hook.

Actions

woocom_aw_before_login_form => Executes just before the login form.

woocom_aw_after_login_form => Executes just after login form

woocom_aw_below_before_widget => Executes just below the $args['before_widget']

woocom_aw_above_after_widget => Executes just above $args['after_widget'];

I’m thinking about adding some more hooks to this plugin. If you have any idea please share through the forum or direct email me at [email protected] or at [email protected].

You can also contribute through this SVN repository of WordPress.org as well as you can contribute here at this GitHub repository also.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon