This file contains 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('plugins_loaded', 'my_ee_yoast_seo_box'); | |
function my_ee_yoast_seo_box() { | |
if ( | |
! empty($_GET['page']) | |
&& | |
in_array( |
This file contains 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_Default_Line_Item_Display_Strategy__item_row__name', | |
function($name, $line_item) { | |
return $line_item->ticket_event_name() . '<br>'; | |
}, | |
10, | |
2 |
This file contains 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_exclude_online_venue_calendar_filter', | |
10, | |
7 | |
); |
This file contains 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_ics_virtual_location', | |
10, | |
2 | |
); |
This file contains 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_add_inline_script_ts_show_sale_info', 20); | |
function my_add_inline_script_ts_show_sale_info() { | |
$custom_js = ' | |
jQuery(document).ready(function($){ | |
$(".ee-ticket-selector-ticket-details-th").after("<th class=\'cntr\' scope=\'col\'>Tickets Remaining</th>"); | |
$("td[data-th=\'Remaining\']").each(function() { | |
$(this).clone().insertAfter( |
This file contains 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__admin_wrapper__template__before_admin_page_content', | |
'my_custom_add_to_admin_reg_list_table' | |
); | |
function my_custom_add_to_admin_reg_list_table() { | |
$currentScreen = get_current_screen(); | |
if( |
This file contains 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
.ticket-selector-tbl-qty-slct { | |
display: inline-block; | |
font-size: 16px; | |
font-weight: 700; | |
color: #444; | |
line-height: 1.3; | |
padding: .6em 1.4em .5em .8em; | |
max-width: 100%; | |
box-sizing: border-box; | |
margin: 0; |
This file contains 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 if you're starting with a blank file | |
function ee_change_dt_formats($formats) { | |
return array( | |
'date' => 'd.m.Y', | |
'time' => 'H:i' | |
); | |
} | |
add_filter( |
This file contains 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_event_details_after_event_date', | |
'my_custom_venue_details_for_event_list' | |
); | |
function my_custom_venue_details_for_event_list($post) { | |
if(is_archive()) { | |
add_filter( |
This file contains 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( | |
'admin_enqueue_scripts', | |
'my_custom_txn_table_column_widths', | |
20 | |
); | |
function my_custom_txn_table_column_widths() { | |
$css = |