Metabox::classic_meeting_video_source_ui( null|WP_Post|int $post = null, bool $echo = true )

Renders the video input fields.


Parameters

$post

(null|WP_Post|int) (Optional) The post object or ID of the event to generate the controls for, or null to 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


Top ↑

Return

(string) The template contents, if not rendered to the page or empty string if no post object.


Top ↑

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
	 *

Top ↑

Changelog

Changelog
Version Description
1.6.0 Introduced.