woocommerce_order_items_meta_get_formatted
Usage
add_filter( 'woocommerce_order_items_meta_get_formatted', 'wp_kama_woocommerce_order_items_meta_get_formatted_filter', 10, 2 ); /** * Function for `woocommerce_order_items_meta_get_formatted` filter-hook. * * @param $formatted_meta * @param $that * * @return */ function wp_kama_woocommerce_order_items_meta_get_formatted_filter( $formatted_meta, $that ){ // filter... return $formatted_meta; }
- $formatted_meta
- -
- $that
- -
Where the hook is called
woocommerce_order_items_meta_get_formatted
woocommerce/includes/class-wc-order-item-meta.php 159
return apply_filters( 'woocommerce_order_items_meta_get_formatted', $formatted_meta, $this );