Tribe__Events__Aggregator__Record__Abstract::__construct( WP_Post|int $post = null )
Setup all the hooks and filters.
Contents
Parameters
- $post
-
(WP_Post|int) (Optional) The post object or post ID to load.
Default value: null
Return
(void)
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 );
}