Provider::register_hooks()
Add hooks.
Source
File: src/Community_Tickets/Tickets/Commerce/Admin/Provider.php
public function register_hooks() {
$hooks = new Hooks( $this->container );
$hooks->register();
// Allow Hooks to be removed, by having them registered to the container
$this->container->singleton( Hooks::class, $hooks );
}
Changelog
| Version | Description |
|---|---|
| 4.8.4 | Introduced. |