src/controller/class-launcher.php
public function init() {

		$state = Module::CustomRatingGrifus()->getOption( 'state' );

		if ( 'active' === $state || 'outdated' === $state ) {
			App::setCurrentID( 'EFG' );
			$this->rating = Module::CustomRatingGrifus()->getControllerInstance( 'Rating' );

			add_action( 'init', [ $this, 'set_language' ] );
			$this->run_ajax();
			if ( is_admin() ) {
				return $this->admin();
			}

			$this->front();
		}
	}
public function init() {

		$state = Module::CustomRatingGrifus()->getOption( 'state' );

		if ( 'active' === $state || 'outdated' === $state ) {
			App::setCurrentID( 'EFG' );
			$this->rating = Module::CustomRatingGrifus()->getControllerInstance( 'Rating' );

			add_action( 'init', [ $this, 'set_language' ] );
			$this->run_ajax();
			if ( is_admin() ) {
				return $this->admin();
			}

			$this->front();
		}
	}
public function init ( ) { $ state = Module :: CustomRatingGrifus ( ) -> getOption ( 'state' ) ; if ( 'active' === $ state || 'outdated' === $ state ) { App :: setCurrentID ( 'EFG' ) ; $ this -> rating = Module :: CustomRatingGrifus ( ) -> getControllerInstance ( 'Rating' ) ; add_action ( 'init' , [ $ this , 'set_language' ] ) ; $ this -> run_ajax ( ) ; if ( is_admin ( ) ) { return $ this -> admin ( ) ; } $ this -> front ( ) ; } }
Class initializer method.

@return boolean
Class initializer method .