Zoom_Provider::hook_block_template()
Hook block templates – legacy or new VE block.
Has to be postponed to wp action or later so global $post is available.
Source
File: src/Tribe/Meetings/Zoom_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_zoom_details' ],
20,
0
);
}
Changelog
| Version | Description |
|---|---|
| 1.7.1 | Introduced. |