diff --git a/includes/class-wc-order-item-meta.php b/includes/class-wc-order-item-meta.php index 67fc93d10ec..57505b3fea4 100644 --- a/includes/class-wc-order-item-meta.php +++ b/includes/class-wc-order-item-meta.php @@ -139,7 +139,7 @@ class WC_Order_Item_Meta { * Handles @deprecated args * @return array */ - public function get_formatted_legacy() { + public function get_formatted_legacy( $hideprefix = '_' ) { _deprecated_function( 'get_formatted_legacy', '2.4', 'Item Meta Data is being called with legacy arguments' ); $formatted_meta = array();