WC_Meta_Box_Order_Items::save()public staticWC 1.0

Save meta box data.

{} It's a method of the class: WC_Meta_Box_Order_Items{}

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Meta_Box_Order_Items::save( $post_id );
$post_id(int) (required)
-

Code of WC_Meta_Box_Order_Items::save() WC 6.7.0

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