Block::register()
Overrides the parent method to register the editor scripts.
Return
(void)
Source
File: src/Tickets/Blocks/Ticket/Block.php
public function register() {
parent::register();
add_action( 'admin_enqueue_scripts', [ $this, 'register_editor_scripts' ] );
}
Changelog
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |