Heray-Was-Here
Server : Apache
System : Linux hybrid3195.ca.ns.planethoster.net 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
User : alliancerealtynb ( 1004)
PHP Version : 7.4.33
Disable Function : noop
Directory :  /home/alliancerealtynb/sitepress-multilingual-cmsOLDOLD/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alliancerealtynb/sitepress-multilingual-cmsOLDOLD/inc/js-scripts.php
<?php

/**
 * Registers scripts so that they can be reused throughout WPML plugins
 * Hooked to `admin_enqueue_scripts`
 */
function wpml_register_js_scripts() {
	wp_register_script( 'wpml-underscore-template-compiler',
		ICL_PLUGIN_URL . '/res/js/shared/wpml-template-compiler.js',
		array( "underscore" ) );
	wp_register_script( 'wpml-domain-validation',
		ICL_PLUGIN_URL . '/res/js/settings/wpml-domain-validation.js',
		array( "jquery" ) );

}

if ( is_admin() ) {
	add_action( 'admin_enqueue_scripts', 'wpml_register_js_scripts', -PHP_INT_MAX );
} else {
	add_action( 'wp_enqueue_scripts', 'wpml_register_js_scripts', -PHP_INT_MAX );
}

Hry