Skip to content

jsmoriss/jsm-show-order-meta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSM Show Order Metadata for WooCommerce

Plugin NameJSM Show Order Metadata for WooCommerce
SummaryShow WooCommerce order metadata (aka custom fields) in a metabox when editing orders - a great tool for debugging issues with order metadata.
Stable Version4.3.0
Requires PHP7.2.34 or newer
Requires WordPress5.8 or newer
Tested Up To WordPress6.5.2
Contributorsjsmoriss
LicenseGPLv3
Tags / Keywordswoocommerce, orders, custom fields, metadata, inspector

Description

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

About

JSM Show Order Metadata for WooCommerce (WordPress Plugin)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages