Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Debug Session with Kieran McClung about Eventbrite API blog post
<?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
You can’t perform that action at this time.