JSM Show Order Metadata for WooCommerce HPOS

By JS Morisset

★ 5.0/5 (2 ratings)700+ active installationsVersion 4.9.1

Show WooCommerce order metadata in a metabox when editing HPOS orders - a great tool for debugging issues with HPOS order metadata.

Description

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

Changelog

Version Numbering

Version components: {major}.{minor}.{bugfix}[-{stage}.{level}]

  • {major} = Major structural code changes and/or incompatible API changes (ie. breaking changes).
  • {minor} = New functionality was added or improved in a backwards-compatible manner.
  • {bugfix} = Backwards-compatible bug fixes or small improvements.
  • {stage}.{level} = Pre-production release: dev < a (alpha) < b (beta) < rc (release candidate).

Repositories

Changelog / Release Notes

Version 4.9.1 (2026/09/12)

  • New Features
    • None.
  • Improvements
    • None.
  • Bugfixes
    • Fixed removal of quote characters from meta key names (props Pervin Zahidli).
  • Developer Notes
    • Updated the SucomUtil::sanitize_meta_key() method to remove single and double quotes.
  • Requires At Least
    • PHP v7.4.33.
    • WordPress v6.0.
    • WooCommerce v8.2.

Version 4.9.0 (2026/05/23)

  • New Features
    • None.
  • Improvements
    • Added support for the WooCommerce Subscriptions post type (‘woocommerce_page_wc-orders–shop_subscription’).
  • Bugfixes
    • None.
  • Developer Notes
    • Updated the SucomUtil class.
  • Requires At Least
    • PHP v7.4.33.
    • WordPress v6.0.
    • WooCommerce v8.2.