Tribe__Events__Admin__Event_Meta_Box::__construct( null $event = null )
Sets up and renders the event meta box for the specified existing event or for a new event (if $event === null).
Contents
Parameters
- $event
-
(null) (Optional)
Default value: null
Source
File: src/Tribe/Admin/Event_Meta_Box.php
public function __construct( $event = null ) {
$this->tribe = Tribe__Events__Main::instance();
if ( $event ) {
$this->init_with_event( $event );
}
}