Tribe__Editor__Blocks__Abstract::load()
Registering the block and loading the assets and hooks should be handled separately.
Source
File: src/Tribe/Editor/Blocks/Abstract.php
public function load() {
add_action( 'wp_ajax_' . $this->get_ajax_action(), [ $this, 'ajax' ] );
$this->assets();
$this->hook();
}
Changelog
| Version | Description |
|---|---|
| 4.14.13 | Introduced. |