admin_pages/general_settings/General_Settings_Admin_Page.core.php 1 location
|
@@ 292-305 (lines=14) @@
|
289 |
|
/** |
290 |
|
* Enqueue scripts and styles for the country settings route. |
291 |
|
*/ |
292 |
|
public function load_scripts_styles_country_settings() |
293 |
|
{ |
294 |
|
//scripts |
295 |
|
wp_register_script( |
296 |
|
'gen_settings_countries', |
297 |
|
GEN_SET_ASSETS_URL . 'gen_settings_countries.js', |
298 |
|
array('ee_admin_js'), |
299 |
|
EVENT_ESPRESSO_VERSION, |
300 |
|
true |
301 |
|
); |
302 |
|
wp_register_style('organization-css', GEN_SET_ASSETS_URL . 'organization.css', array(), EVENT_ESPRESSO_VERSION); |
303 |
|
wp_enqueue_script('gen_settings_countries'); |
304 |
|
wp_enqueue_style('organization-css'); |
305 |
|
} |
306 |
|
|
307 |
|
|
308 |
|
/************* Espresso Pages *************/ |
caffeinated/modules/event_single_caff/EED_Event_Single_Caff.module.php 1 location
|
@@ 76-81 (lines=6) @@
|
73 |
|
|
74 |
|
|
75 |
|
|
76 |
|
public static function enqueue_scripts_styles() { |
77 |
|
wp_register_style( 'eed-event-single-sortable', EVENT_SINGLE_CAFF_ASSETS_URL . 'eed_event_single_sortable.css', array(), EVENT_ESPRESSO_VERSION ); |
78 |
|
wp_enqueue_style( 'eed-event-single-sortable' ); |
79 |
|
wp_register_script( 'eed-event-single-sortable', EVENT_SINGLE_CAFF_ASSETS_URL . 'eed_event_single_sortable.js', array( 'jquery-ui-sortable' ), EVENT_ESPRESSO_VERSION, true ); |
80 |
|
wp_enqueue_script( 'eed-event-single-sortable' ); |
81 |
|
} |
82 |
|
|
83 |
|
|
84 |
|
|
core/domain/services/pue/Stats.php 1 location
|
@@ 169-175 (lines=7) @@
|
166 |
|
/** |
167 |
|
* Callback for admin_enqueue_scripts that sets up the scripts and styles for the uxip notice |
168 |
|
*/ |
169 |
|
public function enqueueScripts() |
170 |
|
{ |
171 |
|
wp_register_script( |
172 |
|
'ee-data-optin-js', |
173 |
|
EE_GLOBAL_ASSETS_URL . 'scripts/ee-data-optin.js', |
174 |
|
array('jquery'), |
175 |
|
EVENT_ESPRESSO_VERSION, |
176 |
|
true |
177 |
|
); |
178 |
|
wp_register_style( |