hooks.php in Timetics – Appointment Booking Calendar & Scheduling 1.0.10, at core/services/hooks.php
| 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 | $this->category = new Service_Taxonomy(); |
| 32 | } |
| 33 | } |
| 34 |