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__EED_Espresso_Calendar__get_calendar_events__query_params', | |
| 'my_ee_remove_ticket_sale_calendar_check', | |
| 10, | |
| 7 | |
| ); |
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_infusionsoft_pass_payment_url( $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 ) { | |
| $url = $transaction->payment_overview_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 | |
| add_filter( 'body_class', 'jf_ee_return_event_name_on_spco' ); | |
| function jf_ee_return_event_name_on_spco( $classes ){ | |
| // change 'registration-checkout' to match your reg. page slug | |
| if (! is_page( 'registration-checkout' ) ){ | |
| return $classes; | |
| } | |
| $events = array(); |
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( | |
| 'EEG_Paypal_Pro__do_direct_payment__partial_amount_line_item_name', | |
| 'my_custom_paypal_pro_line_items_with_promotions', | |
| 10, | |
| 3 | |
| ); |
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( 'tennisclub_query_posts_where' ) ) { | |
| function tennisclub_query_posts_where($where, $query) { | |
| global $wpdb; | |
| if (is_admin() || $query->is_attachment) return $where; | |
| if (tennisclub_strpos($where, 'post_status')===false && (!isset($_REQUEST['preview']) || $_REQUEST['preview']!='true') && (!isset($_REQUEST['vc_editable']) || $_REQUEST['vc_editable']!='true')) { | |
| if (current_user_can('read_private_pages') && current_user_can('read_private_posts')) | |
| $where .= " AND ({$wpdb->posts}.post_status='publish' OR {$wpdb->posts}.post_status='private' OR {$wpdb->posts}.post_status='sold_out')"; |
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__EED_Ical__download_ics_file_ics_data', | |
| 'my_custom_ical_timezone_output_filter', | |
| 10, | |
| 2 | |
| ); |
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 de_ee_tweak_event_list_exclude_ticket_expired_events_where( $SQL, WP_Query $wp_query ) { | |
| if ( isset( $wp_query->query_vars['post_type'] ) | |
| && | |
| ( $wp_query->query_vars['post_type'] == 'espresso_events' || ( is_array( $wp_query->query_vars['post_type'] ) | |
| && | |
| in_array( 'espresso_events', $wp_query->query_vars['post_type'] ) ) ) | |
| && ! $wp_query->is_singular ) { |
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_PMT_Stripe_Onsite__generate_new_billing_form__description', | |
| 'stripe_att_name_event_name_order_description', 10, 2 | |
| ); | |
| function stripe_att_name_event_name_order_description( $desc, $transaction ) { | |
| $desc = 'Tickets'; | |
| if( $transaction instanceof EEI_Transaction ) { | |
| $primary_registrant = $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 | |
| /** | |
| * @package Gantry 5 Theme | |
| * @author RocketTheme http://www.rockettheme.com | |
| * @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC | |
| * @license GNU/GPLv2 and later | |
| * | |
| * http://www.gnu.org/licenses/gpl-2.0.html | |
| */ |
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_Gateway___order_description', | |
| 'att_name_event_name_order_description', 10, 3 | |
| ); | |
| function att_name_event_name_order_description( $desc, $gateway, $payment ) { | |
| $desc = 'Tickets'; | |
| $transaction = $payment->transaction(); | |
| if( $transaction instanceof EEI_Transaction ) { |