Zoom_Provider::add_event_properties( WP_Post $event )
Filters the object returned by the tribe_get_event function to add to it properties related to Zoom meetings.
Contents
Parameters
- $event
-
(WP_Post) (Required) The events post object to be modified.
Return
(WP_Post) The original event object decorated with properties related to virtual events.
Source
File: src/Tribe/Meetings/Zoom_Provider.php
public function add_event_properties( $event ) {
if ( ! $event instanceof \WP_Post ) {
// We should only act on event posts, else bail.
return $event;
}
return $this->container->make( Zoom_Meta::class )->add_event_properties( $event );
}
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |