LLMS_Post_Model::toArrayAfter( array $arr )
Called before data is sorted and returned by $this->toArray()
Description Description
Extending classes should override this data if custom data should be added when object is converted to an array or json.
Parameters Parameters
- $arr
-
(array) (Required) Array of data to be serialized.
Return Return
(array)
Source Source
File: includes/abstracts/abstract.llms.post.model.php
protected function toArrayAfter( $arr ) {
return $arr;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |