add_to_front( * array( * 'path/to/style.css' // those files are added to front * 'path/to/script.js' // in the order you put them * 'http://my_url.com' // it can be urls * 'path/to/file.html' // html are just rendered then returned * ), * compact( // these variables are added to html and js files * 'var_1', // in html files you can access them directly * 'var_2', // in js files they are properties of object PLGNTLS_data * 'var_3', // like PLGNTLS_data.var_1; * ) * ); * * complete syntax to include js scripts : * * key => value * 1: 'src' * 2: 'dependence' => 'src' * 3: array( 'src', 'attr_1' => 'value_1', ... ) * 4: 'dependence' => array( 'src', 'attr_1' => 'value_1', ... ) * * -> 'src' is required * -> 'dependence' is optional * explicit key is always a dependence * -> value can be a string 'src', or an array('srcs', ...) * if value is array, first element is 'src' and following * are attributes for