| @@ 590-599 (lines=10) @@ | ||
| 587 | * @access public |
|
| 588 | * @return void |
|
| 589 | */ |
|
| 590 | private function _load_assests() { |
|
| 591 | do_action( 'AHEE__EED_Events_Archive_Filters__before_load_assests' ); |
|
| 592 | add_filter( 'FHEE_load_css', '__return_true' ); |
|
| 593 | add_filter( 'FHEE_load_EE_Session', '__return_true' ); |
|
| 594 | add_action('wp_enqueue_scripts', array( $this, 'wp_enqueue_scripts' ), 10 ); |
|
| 595 | if ( EE_Registry::instance()->CFG->map_settings->use_google_maps ) { |
|
| 596 | add_action('wp_enqueue_scripts', array( 'EEH_Maps', 'espresso_google_map_js' ), 11 ); |
|
| 597 | } |
|
| 598 | //add_filter( 'the_excerpt', array( $this, 'the_excerpt' ), 999 ); |
|
| 599 | } |
|
| 600 | ||
| 601 | ||
| 602 | ||
| @@ 602-610 (lines=9) @@ | ||
| 599 | * @access public |
|
| 600 | * @return void |
|
| 601 | */ |
|
| 602 | public function load_event_list_assets() { |
|
| 603 | do_action( 'AHEE__EED_Events_Archive__before_load_assets' ); |
|
| 604 | add_filter( 'FHEE_load_EE_Session', '__return_true' ); |
|
| 605 | add_filter( 'FHEE__EED_Ticket_Selector__load_tckt_slctr_assets', '__return_true' ); |
|
| 606 | add_action('wp_enqueue_scripts', array( $this, 'wp_enqueue_scripts' ), 10 ); |
|
| 607 | if ( EE_Registry::instance()->CFG->map_settings->use_google_maps ) { |
|
| 608 | add_action('wp_enqueue_scripts', array( 'EEH_Maps', 'espresso_google_map_js' ), 11 ); |
|
| 609 | } |
|
| 610 | } |
|
| 611 | ||
| 612 | ||
| 613 | ||