LLMS_Abstract_Database_Store::save()
Save object to the database
Description Description
Creates it if doesn’t already exist, updates if it does.
Return Return
(boolean)
Source Source
File: includes/abstracts/llms.abstract.database.store.php
public function save() { if ( ! $this->id ) { $id = $this->create(); if ( $id ) { return true; } return false; } else { return $this->update( $this->data ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.24.0 | Unknown. |
3.14.0 | Introduced. |