submission_handler = new ReviewsSubmissionHandler( $this ); $this->admin_settings = new ReviewsAdminSettings( $this ); } /** * Initialize integration. * * @since 1.5.0 */ public function init(): void { if ( ! $this->is_active() ) { return; } if ( ! $this->is_enabled() ) { return; } $this->submission_handler->init(); $this->admin_settings->init(); $this->hooks(); } /** * Register WordPress hooks. * * @since 1.5.0 */ private function hooks(): void { // EDD Reviews renders this hook inside its review