Created
January 29, 2019 17:30
-
-
Save jesseeproductions/3dd5d3a1cbb3cfb4e61013577f6e338b to your computer and use it in GitHub Desktop.
Change Delay of Ticket Creation to Now
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
/** | |
* Change Delay of Ticket Creation to Now | |
*/ | |
add_filter( 'tribe_ticket_generation_delay', 'jp_filter_delay' ); | |
function jp_filter_delay( $timestamp ) { | |
return date( 'm/d/Y h:i:s a', current_time( 'timestamp' ) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment