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
function dequeue_tribe_events_style() { | |
if ( !tribe_is_event_query() ) { | |
// one or more of the following styles will need to be dequeued depending on the default stylesheet used | |
wp_dequeue_style('tribe-events-calendar-override-style'); | |
wp_dequeue_style('tribe-events-calendar-style'); // skeleton or full | |
wp_dequeue_style('tribe-events-full-calendar-style'); // for fully styled tribe | |
} |
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
/** | |
* Constructor | |
*/ | |
public function __construct() { | |
parent::__construct( 'edd', null ); | |
// For consistent time-stamping | |
$this->timestamp = time(); |