diff --git a/includes/class-vaa.php b/includes/class-vaa.php index 105d7531..0444cb97 100644 --- a/includes/class-vaa.php +++ b/includes/class-vaa.php @@ -48,6 +48,14 @@ final class VAA_View_Admin_As */ private $notices = array(); + /** + * VAA Hooks. + * + * @since 1.8 + * @var VAA_View_Admin_As_Hooks + */ + private $hooks = null; + /** * VAA Store. * @@ -164,6 +172,10 @@ private function load() { 'file' => 'includes/class-base.php', 'class' => 'VAA_View_Admin_As_Base', ), + array( + 'file' => 'includes/class-hooks.php', + 'class' => 'VAA_View_Admin_As_Hooks', + ), array( 'file' => 'includes/class-settings.php', 'class' => 'VAA_View_Admin_As_Settings', @@ -213,6 +225,7 @@ private function load() { */ private function run() { + $this->hooks = new VAA_View_Admin_As_Hooks(); $this->store = VAA_View_Admin_As_Store::get_instance( $this ); $this->controller = VAA_View_Admin_As_Controller::get_instance( $this ); $this->view = VAA_View_Admin_As_View::get_instance( $this ); @@ -492,6 +505,17 @@ public function load_textdomain() { } } + /** + * Get the hooks class. + * + * @since 1.8 + * @access public + * @return VAA_View_Admin_As_Hooks + */ + public function hooks() { + return $this->hooks; + } + /** * Get the store class. *