WC_Order::save()

Save data to the database.


Description Description


Return Return

(int) order ID


Top ↑

Source Source

File: includes/class-wc-order.php

	public function save() {
		$this->maybe_set_user_billing_email();
		parent::save();
		$this->status_transition();

		return $this->get_id();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.