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_no_index_tagseo_meta() { | |
if (is_tax('espresso_event_categories') ) { | |
?> | |
<meta name="robots" content="noindex tony"> | |
<?php | |
} | |
} | |
add_action( 'wp_head', 'ee_no_index_tagseo_meta', 9 ); |
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 espresso_list_of_event_dates( $EVT_ID = FALSE, $dt_frmt = '', $tm_frmt = '', $echo = TRUE, $show_expired = NULL, $format = TRUE, $add_breaks = TRUE ) { | |
$dt_frmt = ! empty( $dt_frmt ) ? $dt_frmt : get_option('date_format'); | |
$tm_frmt = ! empty( $tm_frmt ) ? $tm_frmt : get_option('time_format'); | |
$datetimes = EEH_Event_View::get_all_date_obj( $EVT_ID ,$show_expired ); | |
//d( $datetimes ); | |
if ( is_array( $datetimes ) && ! empty( $datetimes )) { | |
global $post; |
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
#ee-category-legend-ul #ee-category-li-70, | |
#ee-category-submit option[value=unlisted] { | |
display:none | |
} |
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( 'wp_enqueue_scripts', 'my_ee_add_ticket_row_headings', 11 ); | |
function my_ee_add_ticket_row_headings() { | |
wp_add_inline_script( | |
'ticket_selector', | |
'jQuery( document ).ready(function($) { | |
$(".ee-ticket-tees-for-keys-golf-tournament-executive-sponsor") | |
.before( "<tr><td colspan=\'3\'><h3>Tees For Keys</h3></td></tr>" ); |
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 my_add_mer_scripts_everywhere() { | |
wp_enqueue_style( | |
'espresso_multi_event_registration', | |
apply_filters( | |
'FHEE__EED_Multi_Event_Registration__enqueue_scripts__event_cart_css', | |
EE_MER_URL . 'css' . DS . 'multi_event_registration.css' | |
) |
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__EE_Transaction_Processor__update_transaction_and_registrations_after_checkout_or_payment', | |
'my_add_user_cap_for_ticket', | |
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 ee_add_unique_attendee_validation(){ | |
wp_add_inline_script( | |
'single_page_checkout', | |
'jQuery( document ).ready(function($) { | |
$(".ee-reg-qstn-email").addClass("unique"); | |
$(".ee-reg-qstn-fname").addClass("unique"); | |
$(".ee-reg-qstn-lname").addClass("unique"); |
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 | |
); | |
function my_custom_ical_timezone_output_filter( | |
$ics_data, |
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_Export__report_registration_for_event', | |
'tw_ee_registration_for_event_set_RAP_ASC', | |
10, | |
2 | |
); | |
function tw_ee_registration_for_event_set_RAP_ASC($query_params, $event_id) { |