No volunteers yet!
We have been asked to cover 12.10pm - 1.20pm on March 29 (so the times have since changed, originally we were to provide volunteers later in the afternoon).
Contact me by email / add a comment if you are available to help out.
<?php | |
/** | |
* Outline for replacing the existing datepicker with a custom filter field. | |
* | |
* (TEC 3.5) | |
*/ | |
add_action( 'init', 'replace_tribe_bar_search_field', 50 ); | |
function replace_tribe_bar_search_field() { | |
$callback = array( TribeEvents::instance(), 'setup_date_search_in_bar' ); |
<?php | |
add_action( 'tribe_pre_get_view', 'occassionally_kill_pro_title_filter' ); | |
function occassionally_kill_pro_title_filter() { | |
remove_action( 'tribe_pre_get_view', 'occassionally_kill_pro_title_filter' ); | |
if ( ! tribe_is_photo() ) return; // You could extend or further limit when this runs | |
remove_filter( 'tribe_get_events_title', array( TribeEventsPro::instance(), 'reset_page_title')); | |
add_filter( 'tribe_get_events_title', 'modify_events_title' ); | |
} |
<?php | |
/** | |
* Change the position of the Eventbrite Tickets ticket form (within single event pages). | |
*/ | |
function change_eventbrite_ticket_position() { | |
// Do nothing if Eventbrite Tickets is not active | |
if ( ! class_exists( 'Event_Tickets_PRO' ) ) return; | |
// Get a reference to the callback method responsible for displaying the ticket form | |
$display_tickets = array( Event_Tickets_PRO::instance(), 'print_ticket_form' ); |
<?php | |
use Exception, | |
Zend\Filter\Decompress; | |
/** | |
* The gzip adapter for Zend's decompression filter doesn't always | |
* operate reliably on strings. This utility class transparently writes | |
* the string to a temp file and then passes it through the filter. | |
* |
<?php | |
/** | |
* Workaround for themes, plugins and customizations that rely on | |
* redirect_canonical() *not* redirecting when pagination is used | |
* on a static front page. | |
*/ | |
add_action( 'init', 'modify_pro_canonical_filter' ); | |
function modify_pro_canonical_filter() { | |
if ( ! class_exists( 'TribeEventsPro' ) ) return; |
<?php | |
/** | |
* Sample approach for removing action/filter functions belonging | |
* to anonymous objects. | |
*/ | |
function remove_anonymous_objects_from_wp_hooks() { | |
global $wp_filter; | |
// Specific hooks and priorities we want to search | |
$hooks = [ |
<?php | |
/** | |
* Generates output for the [public_attendee_list] shortcode. | |
* | |
* Assumes we're interested in the current event or, optionally, a specific | |
* event ID can be provided: | |
* | |
* [public_attendee_list id="789"] | |
* | |
* This is a rudimentary starting point only! Please assess and tweak to |
class Tribe_EDDTickets_Fix31092 { | |
/** | |
* Override EDDTickets' own print_ticket_url() callback. | |
*/ | |
public function __construct() { | |
add_filter( 'edd_download_file_url_args', array( $this, 'print_ticket_url' ), 20 ); | |
} | |
/** | |
* @param $item |