Skip to content

Instantly share code, notes, and snippets.

@Pebblo
Created November 23, 2015 14:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pebblo/81f1dfe1fa62dde43fc0 to your computer and use it in GitHub Desktop.
Save Pebblo/81f1dfe1fa62dde43fc0 to your computer and use it in GitHub Desktop.
Output details just before the ticket selector, this hook passes the EE_Event ($event) for use within the function if needed.
<?php
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file
//Output details just before the ticket selector, the function has the EE_Event object ($event) available for use.
function tw_output_details_before_the_ts( $event ) {
echo "<h1>TESTING TESTING</h1>";
}
add_action( 'AHEE__ticket_selector_chart__template__before_ticket_selector', 'tw_output_details_before_the_ts' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment