PluginProbe
Timetics – Appointment Booking Calendar & Scheduling / 1.0.57
Timetics – Appointment Booking Calendar & Scheduling v1.0.57
1.0.61 1.0.60 1.0.59 1.0.58 1.0.57 1.0.56 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 1.0.22 1.0.23 1.0.24 All 62 releases
timetics / core / services / hooks.php

hooks.php in Timetics – Appointment Booking Calendar & Scheduling 1.0.57, at core/services/hooks.php

45 lines 651 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Service hooks
4 *
5 * @package Timetics
6 */
7
8 namespace Timetics\Core\Services;
9
10 defined( 'ABSPATH' ) || exit;
11
12 use Timetics\Utils\Singleton;
13 use Timetics\Core\Services\Service_Taxonomy;
14
15 /**
16 * Class Hooks
17 */
18 class Hooks {
19 use Singleton;
20
21 /**
22 * Store category
23 *
24 * @var Object
25 */
26 protected $category;
27 /**
28 * Initialoze
29 *
30 * @return void
31 */
32 public function init() {
33 add_action( 'init', array( $this, 'boot' ), 5);
34 }
35
36 /**
37 * Boot the service
38 *
39 * @return void
40 */
41 public function boot() {
42 $this->category = new Service_Taxonomy();
43 }
44 }
45