core/domain/services/pue/Stats.php 1 location
|
@@ 170-176 (lines=7) @@
|
167 |
|
/** |
168 |
|
* Callback for admin_enqueue_scripts that sets up the scripts and styles for the uxip notice |
169 |
|
*/ |
170 |
|
public function enqueueScripts() |
171 |
|
{ |
172 |
|
wp_register_script( |
173 |
|
'ee-data-optin-js', |
174 |
|
EE_GLOBAL_ASSETS_URL . 'scripts/ee-data-optin.js', |
175 |
|
array('jquery'), |
176 |
|
EVENT_ESPRESSO_VERSION, |
177 |
|
true |
178 |
|
); |
179 |
|
wp_register_style( |
admin_pages/general_settings/General_Settings_Admin_Page.core.php 1 location
|
@@ 315-328 (lines=14) @@
|
312 |
|
/** |
313 |
|
* Enqueue scripts and styles for the country settings route. |
314 |
|
*/ |
315 |
|
public function load_scripts_styles_country_settings() |
316 |
|
{ |
317 |
|
// scripts |
318 |
|
wp_register_script( |
319 |
|
'gen_settings_countries', |
320 |
|
GEN_SET_ASSETS_URL . 'gen_settings_countries.js', |
321 |
|
array('ee_admin_js'), |
322 |
|
EVENT_ESPRESSO_VERSION, |
323 |
|
true |
324 |
|
); |
325 |
|
wp_register_style('organization-css', GEN_SET_ASSETS_URL . 'organization.css', array(), EVENT_ESPRESSO_VERSION); |
326 |
|
wp_enqueue_script('gen_settings_countries'); |
327 |
|
wp_enqueue_style('organization-css'); |
328 |
|
} |
329 |
|
|
330 |
|
|
331 |
|
/************* Espresso Pages *************/ |
caffeinated/modules/event_single_caff/EED_Event_Single_Caff.module.php 1 location
|
@@ 90-95 (lines=6) @@
|
87 |
|
} |
88 |
|
|
89 |
|
|
90 |
|
public static function enqueue_scripts_styles() |
91 |
|
{ |
92 |
|
wp_register_style( |
93 |
|
'eed-event-single-sortable', |
94 |
|
EVENT_SINGLE_CAFF_ASSETS_URL . 'eed_event_single_sortable.css', |
95 |
|
array(), |
96 |
|
EVENT_ESPRESSO_VERSION |
97 |
|
); |
98 |
|
wp_enqueue_style('eed-event-single-sortable'); |