# timetics/trunk/core/services/hooks.php

Timetics – Appointment Booking Calendar &amp; Scheduling, version trunk. 45 lines.

- Page: https://pluginprobe.com/plugins/timetics/trunk/code/core/services/hooks.php
- Raw: https://pluginprobe.com/plugins/timetics/trunk/raw/core/services/hooks.php
- Modified: 2026-02-17T03:25:02+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/timetics/trunk/code/core/services/hooks.php#L10-L20`.

```php
<?php
/**
 * Service hooks
 *
 * @package Timetics
 */

namespace Timetics\Core\Services;

defined( 'ABSPATH' ) || exit;

use Timetics\Utils\Singleton;
use Timetics\Core\Services\Service_Taxonomy;

/**
 * Class Hooks
 */
class Hooks {
    use Singleton;

    /**
     * Store category
     *
     * @var Object
     */
    protected $category;
    /**
     * Initialoze
     *
     * @return void
     */
    public function init() {
        add_action( 'init', array( $this, 'boot' ), 5);
    }

    /**
     * Boot the service
     *
     * @return void
     */
    public function boot() {
        $this->category = new Service_Taxonomy();
    }
}

```
