Webex_Provider::filter_virtual_autodetect_field_accounts( $autodetect_fields, string $video_url, string $autodetect_source, WP_Post|null $event, TribeEventsVirtualMeetingsarray $ajax_data )
Add the Webex accounts dropdown field to the autodetect fields.
Contents
Parameters
- $autodetect
-
(<span class="TribeEventsVirtualMeetingsarrayTribeEventsVirtualMeetingsarray<string|">TribeEventsVirtualMeetingsmixed>) (Required) An array of the autodetect resukts.
- $video_url
-
(string) (Required) The url to use to autodetect the video source.
- $autodetect_source
-
(string) (Required) The optional name of the video source to attempt to autodetect.
- $event
-
(WP_Post|null) (Required) The event post object, as decorated by the
tribe_get_event
function. - $ajax_data
-
(<span class="TribeEventsVirtualMeetingsarrayTribeEventsVirtualMeetingsarray<string|">TribeEventsVirtualMeetingsmixed>) (Required) An array of extra values that were sent by the ajax script.
Return
(TribeEventsVirtualMeetingsarray<string|TribeEventsVirtualMeetingsmixed>) An array of the autodetect results.
Source
File: src/Tribe/Meetings/Webex_Provider.php
public function filter_virtual_autodetect_field_accounts( $autodetect_fields, $video_url, $autodetect_source, $event, $ajax_data ) { return $this->container->make( Classic_Editor::class ) ->classic_autodetect_video_source_accounts( $autodetect_fields, $video_url, $autodetect_source, $event, $ajax_data ); }
Changelog
Version | Description |
---|---|
1.9.0 | Introduced. |