src/controller/class-launcher.php
protected function add_scripts( $name ) {

		$params   = $this->rating->set_movie_params();
		$settings = Module::CustomRatingGrifus()->getOption( 'assets', 'js', $name );

		$settings['params'] = array_merge( $settings['params'], $params );

		WP_Register::add( 'script', $settings );
	}
protected function add_scripts( $name ) {

		$params   = $this->rating->set_movie_params();
		$settings = Module::CustomRatingGrifus()->getOption( 'assets', 'js', $name );

		$settings['params'] = array_merge( $settings['params'], $params );

		WP_Register::add( 'script', $settings );
	}
protected function add_scripts ( $ name ) { $ params = $ this -> rating -> set_movie_params ( ) ; $ settings = Module :: CustomRatingGrifus ( ) -> getOption ( 'assets' , 'js' , $ name ) ; $ settings [ 'params' ] = array_merge ( $ settings [ 'params' ] , $ params ) ; WP_Register :: add ( 'script' , $ settings ) ; }
Add scripts.

@param string $name → script name.
Add scripts .