Merge pull request #8580 from thenbrent/item_meta_hideprefix
Add $hideprefix param to WC_Order_Item_Meta::get_formatted_legacy()
This commit is contained in:
commit
b38fbed7c4
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue