Warning: This method has been deprecated.

WC_Abstract_Legacy_Order::populate( mixed $result )

Populates an order from the loaded post data.


Description Description


Parameters Parameters

$result

(Required)


Top ↑

Source Source

File: includes/legacy/abstract-wc-legacy-order.php

	public function populate( $result ) {
		wc_deprecated_function( 'WC_Order::populate', '3.0' );
		$this->set_id( $result->ID );
		$this->set_object_read( false );
		$this->data_store->read( $this );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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