| @@ 590-600 (lines=11) @@ | ||
| 587 | * @access public |
|
| 588 | * @return void |
|
| 589 | */ |
|
| 590 | private function _load_assests() { |
|
| 591 | do_action( 'AHEE__EED_Events_Archive_Filters__before_load_assests' ); |
|
| 592 | wp_enqueue_style('espresso_default'); |
|
| 593 | wp_enqueue_style('espresso_custom_css'); |
|
| 594 | add_filter( 'FHEE_load_EE_Session', '__return_true' ); |
|
| 595 | add_action('wp_enqueue_scripts', array( $this, 'wp_enqueue_scripts' ), 10 ); |
|
| 596 | if ( EE_Registry::instance()->CFG->map_settings->use_google_maps ) { |
|
| 597 | add_action('wp_enqueue_scripts', array( 'EEH_Maps', 'espresso_google_map_js' ), 11 ); |
|
| 598 | } |
|
| 599 | //add_filter( 'the_excerpt', array( $this, 'the_excerpt' ), 999 ); |
|
| 600 | } |
|
| 601 | ||
| 602 | ||
| 603 | ||
| @@ 785-793 (lines=9) @@ | ||
| 782 | * @access public |
|
| 783 | * @return void |
|
| 784 | */ |
|
| 785 | public function load_event_list_assets() |
|
| 786 | { |
|
| 787 | do_action('AHEE__EED_Events_Archive__before_load_assets'); |
|
| 788 | add_filter('FHEE_load_EE_Session', '__return_true'); |
|
| 789 | add_filter('FHEE__EED_Ticket_Selector__load_tckt_slctr_assets', '__return_true'); |
|
| 790 | add_action('wp_enqueue_scripts', array($this, 'wp_enqueue_scripts'), 10); |
|
| 791 | if (EE_Registry::instance()->CFG->map_settings->use_google_maps) { |
|
| 792 | add_action('wp_enqueue_scripts', array('EEH_Maps', 'espresso_google_map_js'), 11); |
|
| 793 | } |
|
| 794 | } |
|
| 795 | ||
| 796 | ||