Module::register_assets( awsmug\Torro_Forms\Assets $assets )

Registers the available module scripts and stylesheets.

Description

See also

Parameters

$assets

(awsmug\Torro_Forms\Assets) (Required) Assets API instance.

Source

File: src/modules/evaluators/module.php

	protected function register_assets( $assets ) {
		$assets->register_script( 'admin-evaluations', 'assets/dist/js/admin-evaluations.js', array(
			'deps'      => array( 'jquery' ),
			'ver'       => torro()->version(),
			'in_footer' => true,
		) );

		$assets->register_style( 'admin-evaluations', 'assets/dist/css/admin-evaluations.css', array(
			'deps' => array(),
			'ver'  => torro()->version(),
		) );

		$this->_register_assets( $assets );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.