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)
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 ); }
Changelog Changelog
Version | Description |
---|---|
3.0 | Introduced. |