| @@ -27,7 +27,16 @@ | ||
| 27 | 27 | * |
| 28 | 28 | * @return void |
| 29 | 29 | */ |
| 30 | 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() { | |
| 31 | 40 | $this->category = new Service_Taxonomy(); |
| 32 | 41 | } |
| 33 | 42 | } |