public function init() {

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

		if ( 'active' === $state || 'outdated' === $state ) {
			add_action( 'init', [ $this, 'set_language' ] );
			if ( ! is_admin() ) {
				$this->front();
			}
		}
	}
public function init() {

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

		if ( 'active' === $state || 'outdated' === $state ) {
			add_action( 'init', [ $this, 'set_language' ] );
			if ( ! is_admin() ) {
				$this->front();
			}
		}
	}
public function init ( ) { $ state = Module :: CopyMovieGrifus ( ) -> getOption ( 'state' ) ; if ( 'active' === $ state || 'outdated' === $ state ) { add_action ( 'init' , [ $ this , 'set_language' ] ) ; if ( ! is_admin ( ) ) { $ this -> front ( ) ; } } }
Class initializer method.
Class initializer method .