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);
|
add_action('manage_mep_events_posts_custom_column', 'mep_custom_event_column', 10, 2);
|
||||||
if (!function_exists('mep_custom_event_column')) {
|
if (!function_exists('mep_custom_event_column')) {
|
||||||
function mep_custom_event_column($column, $post_id) {
|
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);
|
$post_id = mep_get_default_lang_event_id($post_id);
|
||||||
|
|
||||||
switch ($column) {
|
switch ($column) {
|
||||||
case 'mep_status' :
|
case 'mep_status' :
|
||||||
$values = get_post_custom($post_id);
|
$values = get_post_custom($post_id);
|
||||||
@ -1075,8 +1078,7 @@ if (!function_exists('mep_custom_event_column')) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
case 'mep_event_date' :
|
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>";
|
echo "<span class='mep_event_date'>" . get_mep_datetime(get_post_meta($post_id, 'event_upcoming_datetime', true), 'date-time-text') . "</span>";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user