Post_Thumbnail::to_array()

Returns an array representation of the post thumbnail data.


Return

(array) An array representation of the post thumbnail data.


Top ↑

Source

File: src/Tribe/Utils/Post_Thumbnail.php

	public function to_array() {
		$this->data = $this->fetch_data();

		return json_decode( json_encode( $this->data ), true );
	}

Top ↑

Changelog

Changelog
Version Description
4.9.14 Introduced.