Created
August 16, 2016 16:00
-
-
Save wvega/cca6150271f65a5807ed98ab273f6761 to your computer and use it in GitHub Desktop.
Debug Session with Kieran McClung about Eventbrite API blog post
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 | |
/** | |
* See http://wvega.com/850/getting-eventbrite-api-wordpress-plugin-to-work-on-systems-with-32-bit-builds-of-php/#comment-2840425264 | |
*/ | |
function wvega_850_eventbrite_workaround( $post ) { | |
echo '<pre><code>' . print_r( array( 'post' => $post, 'class' => get_class( $post ) ), true ) . '</pre></code>'; | |
} | |
add_action( 'the_post', 'wvega_850_eventbrite_workaround', 0 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment