Metabox::register_blocks_editor_legacy()
Registers the plugin meta box for Blocks Editor support.
Source
File: src/Tribe/Metabox.php
public function register_blocks_editor_legacy() {
add_meta_box(
static::$id,
$this->get_title(),
[ $this, 'print_template' ],
Events_Plugin::POSTTYPE,
'normal',
'default',
[
'block_editor_compatibility' => tribe( 'editor' )->should_load_blocks(),
]
);
}
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |