function update

This commit is contained in:
magepeopleteam 2024-02-13 06:55:42 +00:00
parent 3d4607bd9b
commit ae9f53f940
2 changed files with 6 additions and 6 deletions

View File

@ -2,8 +2,8 @@
Contributors: magepeopleteam, aamahin
Tags: event, woocomerce events manager, events manager, Wordpress Events plugin, Events plugin, wp events
Requires at least: 5.3
Stable tag: 4.1.1
Version: 4.1.1
Stable tag: 4.1.3
Version: 4.1.3
Tested up to: 6.4.2
WC requires at least: 3.0
WC tested up to: 8.5.2

View File

@ -1,7 +1,7 @@
<tr>
<?php do_action('mep_ticket_type_list_row_start',$field, $post_id); ?>
<td align="Left">
<span class='mep_ticket_type_name'> <?php echo esc_html($field['option_name_t']); ?></span>
<span class='mep_ticket_type_name'> <?php echo array_key_exists('option_name_t',$field) ? esc_html($field['option_name_t']) : ""; ?></span>
<?php if(!empty($ticket_details)){ ?>
<div class="mep_ticket_details">
<p><?php echo esc_html($ticket_details); ?></p>
@ -47,7 +47,7 @@
<input id="eventpxtp_<?php echo esc_attr($count); ?>" type="hidden" class='extra-qty-box etp' name='option_qty[]' data-price='0' value='0' min="0" max="0">
<?php echo mep_get_option('mep_no_seat_available_text', 'label_setting_sec', __('No Seat Availables', 'mage-eventpress'));
}
$ticket_name = mep_remove_apostopie($field['option_name_t']);
$ticket_name = array_key_exists('option_name_t',$field) ? mep_remove_apostopie($field['option_name_t']) : "";
do_action('mep_after_ticket_type_qty', $post_id, $ticket_name, $field, $default_quantity,$start_date);
do_action('mepgq_max_qty_hook',$post_id, max($total_ticket_left, 0));
@ -71,8 +71,8 @@
<td colspan="<?php echo apply_filters('mep_hidden_row_colspan_no',3); ?>" class='user-innnf'>
<input type="hidden" name='mep_event_start_date[]' value="<?php echo esc_attr($start_date); ?>">
<input type="hidden" name='mep_event_end_date[]' value="<?php echo esc_attr($end_date); ?>">
<input type="hidden" name='option_name[]' value='<?php echo esc_attr(mep_remove_apostopie($field['option_name_t'])); ?>'>
<input type="hidden" name='mep_event_end_date[]' value="<?php echo isset($end_date) && !empty($end_date) ? esc_attr($end_date) : ''; ?>">
<input type="hidden" name='option_name[]' value='<?php echo esc_attr($ticket_name); ?>'>
<input type="hidden" name='option_price[]' value='<?php echo esc_attr($ticket_price); ?>'>
<input type="hidden" name='max_qty[]' value='<?php if(array_key_exists('option_max_qty',$field)){ echo esc_attr($field['option_max_qty']); }else{ echo ''; } ?>'>
<div class="user-info-sec">