Created
July 22, 2013 19:58
-
-
Save jazbek/6057096 to your computer and use it in GitHub Desktop.
Fix datepicker in midway theme
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
// Fix datepicker | |
add_action('tribe_events_form_metabox_the_date', 'tribe_fix_midway_datepicker'); | |
function tribe_fix_midway_datepicker($html) { | |
echo ThemexInterface::renderOption(array('type' => 'date')); | |
return $html; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment