PluginProbe
Timetics – Appointment Booking Calendar & Scheduling / 1.0.38
Timetics – Appointment Booking Calendar & Scheduling v1.0.38
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.38, at core/services/hooks.php

43 lines 620 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 use Timetics\Utils\Singleton;
11 use Timetics\Core\Services\Service_Taxonomy;
12
13 /**
14 * Class Hooks
15 */
16 class Hooks {
17 use Singleton;
18
19 /**
20 * Store category
21 *
22 * @var Object
23 */
24 protected $category;
25 /**
26 * Initialoze
27 *
28 * @return void
29 */
30 public function init() {
31 add_action( 'init', array( $this, 'boot' ), 5);
32 }
33
34 /**
35 * Boot the service
36 *
37 * @return void
38 */
39 public function boot() {
40 $this->category = new Service_Taxonomy();
41 }
42 }
43