Last active
January 24, 2024 17:12
-
-
Save rafsuntaskin/ed47584d25ecad0365175e68e8f1df66 to your computer and use it in GitHub Desktop.
ET 5.8.0 Fatal generator
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 | |
/** | |
* 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