Facebook_Provider::attach_rest_properties( TribeEventsVirtualMeetingsarray $data, WP_Post $event )
Add information about the Facebook live stream if available via the REST Api.
Contents
Parameters
- $data
-
(<span class="TribeEventsVirtualMeetingsarray">TribeEventsVirtualMeetingsarray) (Required) The current data of the event.
- $event
-
(WP_Post) (Required) The event being updated.
Return
(TribeEventsVirtualMeetingsarray<string,mixed>) An array with the data of the event on the endpoint.
Source
File: src/Tribe/Meetings/Facebook_Provider.php
public function attach_rest_properties( array $data, \WP_Post $event ) {
return tribe( Facebook_Meta::class )->attach_rest_properties( $data, $event );
}
Changelog
| Version | Description |
|---|---|
| 1.7.0 | Introduced. |