LLMS_Order::after_create()
Called after inserting a new order into the database
Return Return
(void)
Source Source
File: includes/models/model.llms.order.php
protected function after_create() {
// Add a random key that can be passed in the URL and whatever.
$this->set( 'order_key', $this->generate_order_key() );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |