
內容簡介
JSM Show Order Metadata for WooCommerce HPOS 外掛可在 WooCommerce HPOS 訂單編輯頁面底部顯示訂單的元資料鍵及未序列化的值,方便管理和檢視訂單詳細資訊。
【主要功能】
• 顯示訂單元資料鍵及其值
• 適用於 WooCommerce HPOS 環境
• 無需額外設定,安裝後即用
外掛標籤
開發者團隊
② 後台搜尋「JSM Show Order Metadata for WooCommerce HPOS」→ 直接安裝(推薦)
原文外掛簡介
The JSM Show Order Metadata for WooCommerce HPOS plugin displays order meta keys and unserialized values in a metabox at the bottom of the WooCommerce HPOS order and WooCommerce Subscriptions editing pages.
Note that if you’re NOT using WooCommerce HPOS (High-Performance Order Storage), available since WooCommerce v8.2, then your WooCommerce orders are post objects and you should use the JSM Show Post Metadata plugin instead.
There are no plugin settings – simply install and activate the plugin.
Available Filters for Developers
Filter the order meta shown in the metabox:
'jsmsom_metabox_post_types' ( array $post_types )
Array of supported HPOS post types (i.e. ‘woocommerce_page_wc-orders’ and ‘woocommerce_page_wc-orders–shop_subscription’).
'jsmsom_metabox_table_metadata' ( array $metadata, $order_obj )
Array of regular expressions to exclude meta keys:
'jsmsom_metabox_table_exclude_keys' ( array $exclude_keys, $order_obj )
Capability required to show order meta:
'jsmsom_show_metabox_capability' ( 'manage_options', $order_obj )
Capability required to delete order meta:
'jsmsom_delete_meta_capability' ( 'manage_options', $order_obj )
Icon for the delete order meta button:
'jsmsom_delete_meta_icon_class' ( 'dashicons dashicons-table-row-delete' )
Related Plugins
JSM Show Comment Metadata
JSM Show Order Metadata for WooCommerce HPOS
JSM Show Post Metadata
JSM Show Term Metadata
JSM Show User Metadata
JSM Show Registered Shortcodes
