Tribe__Events__Aggregator__Record__Abstract::activity()

Returns the Activity object for the record

Contents


Return

(Tribe__Events__Aggregator__Record__Activity)


Top ↑

Source

File: src/Tribe/Aggregator/Record/Abstract.php

	public function activity() {
		if ( empty( $this->meta['activity'] ) ) {
			$activity = new Tribe__Events__Aggregator__Record__Activity;
			$this->update_meta( 'activity', $activity );
		}

		return $this->meta['activity'];
	}