{"id":186686,"date":"2024-04-18T18:12:37","date_gmt":"2024-04-18T18:12:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/jsm-show-order-metadata-for-woocommerce\/"},"modified":"2026-03-25T12:13:46","modified_gmt":"2026-03-25T12:13:46","slug":"jsm-show-order-meta","status":"publish","type":"plugin","link":"https:\/\/ast.wordpress.org\/plugins\/jsm-show-order-meta\/","author":9782930,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"4.8.0","stable_tag":"4.8.0","tested":"6.9.4","requires":"6.0","requires_php":"7.4.33","requires_plugins":null,"header_name":"JSM Show Order Metadata for WooCommerce HPOS","header_author":"JS Morisset","header_description":"Show WooCommerce order metadata (aka custom fields) in a metabox when editing orders - a great tool for debugging issues with order metadata.","assets_banners_color":"e3e3e4","last_updated":"2026-03-25 12:13:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/surniaulula.com\/extend\/plugins\/jsm-show-order-meta\/","header_author_uri":"https:\/\/surniaulula.com\/","rating":5,"author_block_rating":0,"active_installs":700,"downloads":6940,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"4.8.0":{"tag":"4.8.0","author":"jsmoriss","date":"2026-03-25 12:13:46"}},"upgrade_notice":{"4.8.0":"<p>(2025\/07\/14) Updated the <code>SucomUtil<\/code> class.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":3073413,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":3073413,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3167646,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3167646,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["4.8.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"The \"Order Metadata\" metabox added to admin WooCommerce order editing pages."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2010,34796,2994,16281,286],"plugin_category":[45],"plugin_contributors":[79194],"plugin_business_model":[],"class_list":["post-186686","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-fields","plugin_tags-inspector","plugin_tags-metadata","plugin_tags-orders","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-jsmoriss","plugin_committers-jsmoriss"],"banners":{"banner":"https:\/\/ps.w.org\/jsm-show-order-meta\/assets\/banner-772x250.jpg?rev=3167646","banner_2x":"https:\/\/ps.w.org\/jsm-show-order-meta\/assets\/banner-1544x500.jpg?rev=3167646","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/jsm-show-order-meta\/assets\/icon-128x128.jpg?rev=3073413","icon_2x":"https:\/\/ps.w.org\/jsm-show-order-meta\/assets\/icon-256x256.jpg?rev=3073413","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>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 <a href=\"https:\/\/wordpress.org\/plugins\/jsm-show-post-meta\/\">JSM Show Post Metadata<\/a> plugin instead.<\/p>\n\n<p>There are no plugin settings - simply install and activate the plugin.<\/p>\n\n<h4>Available Filters for Developers<\/h4>\n\n<p>Filter the order meta shown in the metabox:<\/p>\n\n<pre><code>'jsmsom_metabox_post_types' ( array $post_types )\n<\/code><\/pre>\n\n<p>Array of supported HPOS post types (i.e. 'woocommerce_page_wc-orders' and 'woocommerce_page_wc-orders--shop_subscription').<\/p>\n\n<pre><code>'jsmsom_metabox_table_metadata' ( array $metadata, $order_obj )\n<\/code><\/pre>\n\n<p>Array of regular expressions to exclude meta keys:<\/p>\n\n<pre><code>'jsmsom_metabox_table_exclude_keys' ( array $exclude_keys, $order_obj )\n<\/code><\/pre>\n\n<p>Capability required to show order meta:<\/p>\n\n<pre><code>'jsmsom_show_metabox_capability' ( 'manage_options', $order_obj )\n<\/code><\/pre>\n\n<p>Capability required to delete order meta:<\/p>\n\n<pre><code>'jsmsom_delete_meta_capability' ( 'manage_options', $order_obj )\n<\/code><\/pre>\n\n<p>Icon for the delete order meta button:<\/p>\n\n<pre><code>'jsmsom_delete_meta_icon_class' ( 'dashicons dashicons-table-row-delete' )\n<\/code><\/pre>\n\n<h4>Related Plugins<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/jsm-show-comment-meta\/\">JSM Show Comment Metadata<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/jsm-show-order-meta\/\">JSM Show Order Metadata for WooCommerce HPOS<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/jsm-show-post-meta\/\">JSM Show Post Metadata<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/jsm-show-term-meta\/\">JSM Show Term Metadata<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/jsm-show-user-meta\/\">JSM Show User Metadata<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/jsm-show-registered-shortcodes\/\">JSM Show Registered Shortcodes<\/a><\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h3>Version Numbering<\/h3>\n\n<p>Version components: <code>{major}.{minor}.{bugfix}[-{stage}.{level}]<\/code><\/p>\n\n<ul>\n<li>{major} = Major structural code changes and\/or incompatible API changes (ie. breaking changes).<\/li>\n<li>{minor} = New functionality was added or improved in a backwards-compatible manner.<\/li>\n<li>{bugfix} = Backwards-compatible bug fixes or small improvements.<\/li>\n<li>{stage}.{level} = Pre-production release: dev &lt; a (alpha) &lt; b (beta) &lt; rc (release candidate).<\/li>\n<\/ul>\n\n<h3>Repositories<\/h3>\n\n<ul>\n<li><a href=\"https:\/\/jsmoriss.github.io\/jsm-show-order-meta\/\">GitHub<\/a><\/li>\n<li><a href=\"https:\/\/plugins.trac.wordpress.org\/browser\/jsm-show-order-meta\/\">WordPress.org<\/a><\/li>\n<\/ul>\n\n<h3>Changelog \/ Release Notes<\/h3>\n\n<p><strong>Version 4.8.0 (2025\/07\/14)<\/strong><\/p>\n\n<ul>\n<li><strong>New Features<\/strong>\n\n<ul>\n<li>None.<\/li>\n<\/ul><\/li>\n<li><strong>Improvements<\/strong>\n\n<ul>\n<li>Added support for the WooCommerce Subscriptions post type ('woocommerce_page_wc-orders--shop_subscription').<\/li>\n<\/ul><\/li>\n<li><strong>Bugfixes<\/strong>\n\n<ul>\n<li>None.<\/li>\n<\/ul><\/li>\n<li><strong>Developer Notes<\/strong>\n\n<ul>\n<li>Updated the <code>SucomUtil<\/code> class.<\/li>\n<\/ul><\/li>\n<li><strong>Requires At Least<\/strong>\n\n<ul>\n<li>PHP v7.4.33.<\/li>\n<li>WordPress v6.0.<\/li>\n<li>WooCommerce v8.2.<\/li>\n<\/ul><\/li>\n<\/ul>","raw_excerpt":"Show WooCommerce order metadata in a metabox when editing HPOS orders - a great tool for debugging issues with HPOS order metadata.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/186686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=186686"}],"author":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jsmoriss"}],"wp:attachment":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=186686"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=186686"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=186686"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=186686"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=186686"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=186686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}