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.


Top ↑

Parameters Parameters

$arr

(array) (Required) Array of data to be serialized.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/abstracts/abstract.llms.post.model.php

	protected function toArrayAfter( $arr ) {
		return $arr;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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