Show WooCommerce order metadata (aka custom fields) in a metabox when editing orders - a great tool for debugging issues with order metadata.
The JSM Show Order Metadata for WooCommerce plugin displays order meta keys and their unserialized values in a metabox at the bottom of the order editing page.
There are no plugin settings – simply install and activate the plugin.
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' )
Version components: {major}.{minor}.{bugfix}[-{stage}.{level}]
Version 4.3.0 (2024/04/18)
SucomUtil
class.Version 4.2.0 (2024/03/10)
SucomUtilMetabox::get_table_metadata()
.SucomUtilWP::doing_block_editor()
.Version 4.1.0 (2024/02/03)
SucomUtilWP::doing_dev()
method.Version 4.0.0 (2024/01/20)
Initial release.