JSM Show Order Metadata for WooCommerce

Version Information

  • Plugin Name: JSM Show Order Metadata for WooCommerce HPOS
  • Stable Version: 4.6.1
  • Author: JS Morisset
  • Description: Show WooCommerce order metadata in a metabox when editing HPOS orders - a great tool for debugging issues with HPOS order metadata.
  • License: GPLv3
  • Requires PHP: 7.4.33 or newer
  • Requires WordPress: 5.9 or newer
  • Tested Up To WordPress: 6.7.1
  • Last Updated: 4 weeks ago

The JSM Show Order Metadata for WooCommerce HPOS plugin displays order meta keys and their unserialized values in a metabox at the bottom of the HPOS order editing page.

If you are 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_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

Find this content useful? Share it with your friends!

2 comments on “JSM Show Order Metadata for WooCommerce

Leave a Review