Last active
February 12, 2016 12:19
-
-
Save jo-snips/5636467 to your computer and use it in GitHub Desktop.
The Events Calendar - Add Published Date Column to Admin
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
/*-----------------------------------------------------------------------------------*/ | |
/* Add Published Date Column to Tribe Events | |
/*-----------------------------------------------------------------------------------*/ | |
add_filter( 'manage_edit-tribe_events_columns', 'my_edit_tribe_events' ) ; | |
function my_edit_tribe_events( $columns ) { | |
$columns['date'] = __('Date'); | |
return $columns; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It adds new column Date. But sorting doesn't work normall. It sorts by Start Date or End Date in anyway... :(