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:
Mike Jolley 2015-07-15 14:36:22 +02:00
commit b38fbed7c4
1 changed files with 1 additions and 1 deletions

View File

@ -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();