src/controller/admin/page/class-custom-images.php
public function add_scripts() {

		$scripts = [
			'eliasisMaterial',
			'extensionsForGrifusAdmin',
		];

		$js = App::EFG()->getOption( 'assets', 'js' );

		foreach ( $scripts as $script ) {
			WP_Register::add( 'script', $js[ $script ] );
		}

		$js = Module::CustomImagesGrifus()->getOption( 'assets', 'js' );

		$js = $js['customImagesGrifusAdmin'];

		$params = [
			'revised_text' => __(
				'All post have already been reviewed',
				'extensions-for-grifus-images'
			),
			'added_text' => __(
				'Posts were modified',
				'extensions-for-grifus-images'
			),
		];

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

		WP_Register::add( 'script', $js );
	}
public function add_scripts() {

		$scripts = [
			'eliasisMaterial',
			'extensionsForGrifusAdmin',
		];

		$js = App::EFG()->getOption( 'assets', 'js' );

		foreach ( $scripts as $script ) {
			WP_Register::add( 'script', $js[ $script ] );
		}

		$js = Module::CustomImagesGrifus()->getOption( 'assets', 'js' );

		$js = $js['customImagesGrifusAdmin'];

		$params = [
			'revised_text' => __(
				'All post have already been reviewed',
				'extensions-for-grifus-images'
			),
			'added_text' => __(
				'Posts were modified',
				'extensions-for-grifus-images'
			),
		];

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

		WP_Register::add( 'script', $js );
	}
Load scripts.