woocommerce_update_order_item_meta()
Deprecated from version 3.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
No Hooks.
Return
null
. Nothing (null).
Usage
woocommerce_update_order_item_meta( $item_id, $meta_key, $meta_value, $prev_value );
- $item_id (required)
- -
- $meta_key (required)
- -
- $meta_value (required)
- -
- $prev_value **
- -
Default: ''
Changelog
Deprecated since | 3.0 |
woocommerce_update_order_item_meta() woocommerce update order item meta code WC 9.7.1
function woocommerce_update_order_item_meta( $item_id, $meta_key, $meta_value, $prev_value = '' ) { wc_deprecated_function( __FUNCTION__, '3.0', 'wc_update_order_item_meta' ); return wc_update_order_item_meta( $item_id, $meta_key, $meta_value, $prev_value ); }