hook name update
This commit is contained in:
parent
4ab3799c96
commit
d4b3c2d493
|
@ -59,7 +59,7 @@ if (!function_exists('mep_get_event_reg_btn')) {
|
|||
// $total_left = mep_get_event_total_seat_left($post_id, $upcoming_date);
|
||||
|
||||
$reg_status = array_key_exists('mep_reg_status', $event_meta) ? esc_html($event_meta['mep_reg_status'][0]) : '';
|
||||
$seat_left = apply_filters('mep_event_total_seat_count', $total_left, $post_id);
|
||||
$seat_left = apply_filters('mep_event_total_seat_left_count', $total_left, $post_id);
|
||||
$current = current_time('Y-m-d H:i:s');
|
||||
$time = strtotime($event_expire_date);
|
||||
$newformat = date('Y-m-d H:i:s', $time);
|
||||
|
@ -248,7 +248,7 @@ if (!function_exists('mep_get_event_reg_btn_list')) {
|
|||
// $total_left = mep_get_event_total_seat_left($post_id, $upcoming_date);
|
||||
|
||||
$reg_status = array_key_exists('mep_reg_status', $event_meta) ? $event_meta['mep_reg_status'][0] : '';
|
||||
$seat_left = apply_filters('mep_event_total_seat_count', $total_left, get_the_id());
|
||||
$seat_left = apply_filters('mep_event_total_seat_left_count', $total_left, get_the_id());
|
||||
$current = current_time('Y-m-d H:i:s');
|
||||
$time = strtotime($event_expire_date);
|
||||
$newformat = date('Y-m-d H:i:s', $time);
|
||||
|
@ -269,7 +269,7 @@ if (!function_exists('mep_get_event_reg_btn_list')) {
|
|||
$interval = date_diff($datetime2, $datetime1);
|
||||
$mep_available_seat = array_key_exists('mep_available_seat', $event_meta) ? $event_meta['mep_available_seat'][0] : 'on';
|
||||
|
||||
$leftt = apply_filters('mep_event_total_seat_count', $total_left, get_the_id());
|
||||
$leftt = apply_filters('mep_event_total_seat_left_count', $total_left, get_the_id());
|
||||
$days = $interval->d;
|
||||
$hours = $interval->h;
|
||||
$minutes = $interval->i;
|
||||
|
|
Loading…
Reference in New Issue