function update
This commit is contained in:
parent
e6a8d04dee
commit
d0dd2e5bcc
|
@ -1055,7 +1055,10 @@ if (!function_exists('mep_attendee_filter_query')) {
|
|||
add_action('manage_mep_events_posts_custom_column', 'mep_custom_event_column', 10, 2);
|
||||
if (!function_exists('mep_custom_event_column')) {
|
||||
function mep_custom_event_column($column, $post_id) {
|
||||
|
||||
mep_update_event_upcoming_date($post_id);
|
||||
$post_id = mep_get_default_lang_event_id($post_id);
|
||||
|
||||
switch ($column) {
|
||||
case 'mep_status' :
|
||||
$values = get_post_custom($post_id);
|
||||
|
@ -1076,7 +1079,6 @@ if (!function_exists('mep_custom_event_column')) {
|
|||
|
||||
|
||||
case 'mep_event_date' :
|
||||
mep_update_event_upcoming_date($post_id);
|
||||
echo "<span class='mep_event_date'>" . get_mep_datetime(get_post_meta($post_id, 'event_upcoming_datetime', true), 'date-time-text') . "</span>";
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue