Metabox::classic_meeting_video_source_ui( null|WP_Post|int $post = null, bool $echo = true )
Renders the video input fields.
Contents
Parameters
- $post
-
(null|WP_Post|int) (Optional) The post object or ID of the event to generate the controls for, or
nullto use the global post object.Default value: null
- $echo
-
(bool) (Optional) Whether to echo the template contents to the page (default) or to return it.
Default value: true
Return
(string) The template contents, if not rendered to the page or empty string if no post object.
Source
File: src/Tribe/Metabox.php
*/
public function delete_fields( $post_id, $data ) {
foreach ( Event_Meta::$virtual_event_keys as $key ) {
delete_post_meta(
$post_id,
$key
);
}
}
/**
* Renders the video input fields.
*
* @since 1.6.0
* @deprecated 1.8.0
*
Changelog
| Version | Description |
|---|---|
| 1.6.0 | Introduced. |