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 9.8.5
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 ); }