Webex_Provider::hook_block_template()

Hook block templates – legacy or new VE block.

Contents

Has to be postponed to wp action or later so global $post is available.


Source

File: src/Tribe/Meetings/Webex_Provider.php

	public function hook_block_template() {
		/* The action/location which the template is injected depends on whether or not V2 is enabled
		 * and whether the virtual event block is present in the post content.
		 */
		$embed_inject_action = tribe( 'events-virtual.hooks' )->get_virtual_embed_action();

		add_action(
			$embed_inject_action,
			[ $this, 'action_add_event_single_webex_details' ],
			20,
			0
		);
	}

Top ↑

Changelog

Changelog
Version Description
1.9.0 Introduced.