This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
| add_filter( | |
| 'FHEE__EE_Calendar__get_calendar_events__tooltip_reg_btn_html', | |
| 'my_custom_calendar_tooltip_add_venue', | |
| 10, | |
| 3 | |
| ); | |
| function my_custom_calendar_tooltip_add_venue( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
| add_action( | |
| 'AHEE__thank_you_page_overview_template__top', | |
| 'my_custom_tracking_code_function' | |
| ); | |
| function my_custom_tracking_code_function($transaction) { | |
| if ( $transaction instanceof EE_Transaction ) { | |
| $registrations = $transaction->registrations(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
| add_filter( | |
| 'FHEE_manage_event-espresso_page_espresso_registrations_columns', | |
| 'my_filter_registration_list_table_columns', | |
| 10, | |
| 2 | |
| ); | |
| add_action( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
| add_filter( | |
| 'FHEE__EEE_Infusionsoft_Ticket__sync_to_infusionsoft__product_data', | |
| 'my_do_not_send_a_sku', | |
| 10, | |
| 2 | |
| ); | |
| function my_do_not_send_a_sku($product_data, $ticket) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
| function ee_is_track_attendee_back_to_purchaser( $is_contact_data, $ee_attendee ) { | |
| if( $ee_attendee instanceof EE_Attendee ) { | |
| $checkout = EE_Registry::instance()->SSN->checkout(); | |
| if ( $checkout instanceof EE_Checkout ) { | |
| $transaction = $checkout->transaction; | |
| if ( $transaction instanceof EE_Transaction ) { | |
| $primary_reg = $transaction->primary_registration(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
| add_filter( | |
| 'FHEE__EEH_Template__locate_template__full_template_paths', | |
| 'my_copy_attendee_info_template_do_not_load', | |
| 10, | |
| 2 | |
| ); | |
| function my_copy_attendee_info_template_do_not_load( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
| function ee_seo_xml_sitemap_no_event_type_single($url, $type, $term) { | |
| if (! isset($term->taxonomy)) { | |
| return $url; | |
| } | |
| if ($term->taxonomy == 'espresso_event_type') { | |
| $url = ''; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
| function change_post_time_to_event_start($time, $d, $gmt) { | |
| global $post; | |
| $event = EEH_Event_View::get_event($post->ID); | |
| if($event instanceof EE_Event) { | |
| $primary_datetime = clone $event->primary_datetime(); | |
| $time = $primary_datetime->start_date_and_time('Y-m-d', 'H:i:s'); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
| add_filter('pre_get_posts', 'order_venue_archive_by_title'); | |
| function order_venue_archive_by_title($query) { | |
| if ( $query->is_archive && | |
| isset($query->query['post_type']) && | |
| $query->query['post_type']== 'espresso_venues' ) | |
| { | |
| $query->set('orderby', 'title'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
| if (!function_exists('event_espresso_send_payment_notification')) { | |
| function event_espresso_send_payment_notification($atts) { | |
| do_action('action_hook_espresso_log', __FILE__, __FUNCTION__, ''); | |
| global $wpdb, $org_options; |