JSM Show Order Metadata for WooCommerce

July 16, 2024

JSM Show Order Metadata for WooCommerce Plugin

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.

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

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.3.0 (2024/04/18)

  • New Features
    • None.
  • Improvements
    • None.
  • Bugfixes
    • None.
  • Developer Notes
    • Updated the SucomUtil class.
  • Requires At Least
    • PHP v7.2.34.
    • WordPress v5.8.

Version 4.2.0 (2024/03/10)

  • New Features
    • None.
  • Improvements
    • None.
  • Bugfixes
    • None.
  • Developer Notes
    • Added extra sanitation for method arguments in SucomUtilMetabox::get_table_metadata().
    • Added extra sanitation for ‘post_ID’ and ‘action’ values in SucomUtilWP::doing_block_editor().
  • Requires At Least
    • PHP v7.2.34.
    • WordPress v5.8.

Version 4.1.0 (2024/02/03)

  • New Features
    • None.
  • Improvements
    • None.
  • Bugfixes
    • None.
  • Developer Notes
    • Added a new SucomUtilWP::doing_dev() method.
  • Requires At Least
    • PHP v7.2.34.
    • WordPress v5.8.

Version 4.0.0 (2024/01/20)

Initial release.

  • New Features
    • None.
  • Improvements
    • None.
  • Bugfixes
    • None.
  • Developer Notes
    • None.
  • Requires At Least
    • PHP v7.2.34.
    • WordPress v5.8.

Details

  • Version: 4.3.0
  • Active installations: 100
  • WordPress Version: 5.8
  • Tested up to: 6.6.1
  • PHP Version: 7.2.34

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars