modules/add_new_state/EED_Add_New_State.module.php 1 location
|
@@ 147-154 (lines=8) @@
|
144 |
|
/** |
145 |
|
* @return void |
146 |
|
*/ |
147 |
|
public static function wp_enqueue_scripts() |
148 |
|
{ |
149 |
|
if (apply_filters('EED_Single_Page_Checkout__SPCO_active', false)) { |
150 |
|
wp_register_script('add_new_state', ANS_ASSETS_URL . 'add_new_state.js', |
151 |
|
array('espresso_core', 'single_page_checkout'), EVENT_ESPRESSO_VERSION, true); |
152 |
|
wp_enqueue_script('add_new_state'); |
153 |
|
} |
154 |
|
} |
155 |
|
|
156 |
|
|
157 |
|
|
modules/thank_you_page/EED_Thank_You_Page.module.php 1 location
|
@@ 332-343 (lines=12) @@
|
329 |
|
* |
330 |
|
* @return void |
331 |
|
*/ |
332 |
|
public function load_js() |
333 |
|
{ |
334 |
|
wp_register_script( |
335 |
|
'thank_you_page', |
336 |
|
THANK_YOU_ASSETS_URL . 'thank_you_page.js', |
337 |
|
array('espresso_core', 'heartbeat'), |
338 |
|
EVENT_ESPRESSO_VERSION, |
339 |
|
true |
340 |
|
); |
341 |
|
wp_enqueue_script('thank_you_page'); |
342 |
|
wp_enqueue_style('espresso_default'); |
343 |
|
} |
344 |
|
|
345 |
|
|
346 |
|
|