Skip to content

Instantly share code, notes, and snippets.

@rafsuntaskin
Last active January 24, 2024 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafsuntaskin/ed47584d25ecad0365175e68e8f1df66 to your computer and use it in GitHub Desktop.
Save rafsuntaskin/ed47584d25ecad0365175e68e8f1df66 to your computer and use it in GitHub Desktop.
ET 5.8.0 Fatal generator
<?php
/**
* Plugin Name: ET Fatal Test Plugin
* Description: Testing ET 5.8.0 fatal with 3rd party integrations
*/
defined( 'ABSPATH' ) || exit;
add_action(
'template_redirect',
function () {
tribe_get_start_date( null, null, null );
}
);
add_action(
'template_redirect',
function () {
tribe_get_end_date( null, null, null );
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment