Tribe__Events__Aggregator__Record__Abstract::__construct( WP_Post|int $post = null )

Setup all the hooks and filters.


Parameters

$post

(WP_Post|int) (Optional) The post object or post ID to load.

Default value: null


Top ↑

Return

(void)


Top ↑

Source

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

	public function __construct( $post = null ) {
		$this->image_uploader = new Tribe__Image__Uploader();
		// If we have an Post we try to Setup
		$this->load( $post );
	}