
內容簡介
總結:RIACO Custom Order Status 外掛允許您在 WooCommerce 中新增無限量的自訂訂單狀態,配色靈活辨識,並能在訂單列表中清晰顯示,完美整合 WooCommerce 工作流程,同時提供開發者友好的鉤子和過濾器進行完整自定義。
問題與答案:
1. RIACO Custom Order Status 外掛的主要功能是什麼?
- 可以新增無限量的自訂訂單狀態
- 分配自訂顏色以便辨識
- 在 WooCommerce 訂單列表中展示這些狀態
- 與 WooCommerce 工作流程完美整合
- 提供開發者友好的鉤子和過濾器進行完整自定義
2. 如果需要類似 "Awaiting Pickup", "Ready for Delivery", 或 "On Hold - Payment Verification" 這樣的狀態時,使用這個外掛是多麼完美的選擇?
- 它可以透過 WooCommerce 專用管理選單來管理自訂狀態
- 可以為這些狀態在訂單列表中指定背景顏色
- 支持批量編輯和手動狀態更改
- 所有狀態均儲存為適當的 wc-{slug} 訂單狀態
- 完全可翻譯且與 WordPress 編碼標準兼容
3. 開發者可以如何通過外掛中的 Hooks 進行自定義?
- 可以使用各種 Actions,如 'riaco_cos_cpt_registered', 'riaco_cos_after_save_status' 等
- 各種 Filters,如 'riaco_cos_get_statuses' 可供開發者使用。
外掛標籤
開發者團隊
② 後台搜尋「RIACO Custom Order Status for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
RIACO Custom Order Status allows you to:
Add unlimited custom order statuses in WooCommerce.
Assign custom colors for easy identification.
Display them in the WooCommerce orders list.
Integrate seamlessly with WooCommerce workflows.
Developer-friendly hooks and filters for full customization.
This plugin is perfect if you need statuses like Awaiting Pickup, Ready for Delivery, or On Hold – Payment Verification.
Features:
– Manage custom statuses via a dedicated admin menu under WooCommerce.
– Assign background colors to statuses in the order list.
– Supports bulk editing and manual status changes.
– All statuses are stored as proper wc-{slug} order statuses.
– Fully translatable and compatible with WordPress coding standards.
Developer Hooks
Actions
do_action( 'riaco_cos_cpt_registered', 'riaco_cos', $args );
do_action( 'riaco_cos_after_save_status', $post_id, $color );
do_action( 'riaco_cos_before_admin_list_styles', $posts );
do_action( 'riaco_cos_loaded', $this );
do_action( 'riaco_cos_after_register_custom_statuses', $statuses );
Filters
apply_filters( 'riaco_cos_get_statuses', $statuses );
