WC_Meta_Box_Order_Items::save
Save meta box data.
Method of the class: WC_Meta_Box_Order_Items{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = WC_Meta_Box_Order_Items::save( $post_id );
- $post_id(int) (required)
- .
WC_Meta_Box_Order_Items::save() WC Meta Box Order Items::save code WC 10.6.2
public static function save( $post_id ) {
/**
* This $_POST variable's data has been validated and escaped
* inside `wc_save_order_items()` function.
*/
wc_save_order_items( $post_id, $_POST );
}