version 4.1.1 released
This commit is contained in:
parent
733ea4b4cd
commit
8f1e5b09c6
|
@ -1225,6 +1225,12 @@ h3.mep_virtual_sec_title {
|
|||
border-bottom: 1px solid #DDD;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
|
||||
#epanel-mainmenu a {
|
||||
background: #7e3bd0;
|
||||
}
|
||||
|
||||
/******************************************************************** Welcome page ************************************************/
|
||||
@media only screen and (min-width: 10px) {
|
||||
div.mpwem_welcome_page table tbody th{text-align: left;vertical-align: top;}
|
||||
|
|
|
@ -60,7 +60,7 @@ function mpwem_page_scroll_to(target) {
|
|||
}
|
||||
}
|
||||
if (date_check && active > 0) {
|
||||
active = date_search(parent, $(this));
|
||||
active = date_search(parent, $(this));
|
||||
}
|
||||
if (active > 1) {
|
||||
result++;
|
||||
|
|
|
@ -2324,7 +2324,7 @@ div.mep-default-feature-content p {
|
|||
font-size: 14px !important;
|
||||
}
|
||||
.mep_event_list .owl-dots button.active {
|
||||
background: #FF5959 !important;
|
||||
background: #FF5959;
|
||||
}
|
||||
.mep_event_list .owl-dots button {
|
||||
width: 15px;
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
|
@ -55,6 +55,7 @@
|
|||
wp_enqueue_style('mp_jquery_ui', MPWEM_PLUGIN_URL . '/assets/helper/jquery-ui.min.css', array(), '1.13.2');
|
||||
$fontAwesome = MP_Global_Function::get_settings('general_setting_sec', 'mep_load_fontawesome_from_theme', 'no');
|
||||
if ($fontAwesome == 'no') {
|
||||
wp_enqueue_style('mp_font_awesome-430', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.css', array(), '4.3.0');
|
||||
wp_enqueue_style('mp_font_awesome', '//cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.4/css/all.min.css', array(), '5.15.4');
|
||||
}
|
||||
$flatIcon = MP_Global_Function::get_settings('general_setting_sec', 'mep_load_flaticon_from_theme', 'no');
|
||||
|
@ -118,7 +119,7 @@
|
|||
//wp_enqueue_script('mptbm_registration', MPWEM_PLUGIN_URL . '/assets/frontend/mptbm_registration.js', array('jquery'), time(), true);
|
||||
//wp_enqueue_style('mptbm_registration', MPWEM_PLUGIN_URL . '/assets/frontend/mptbm_registration.css', array(), time());
|
||||
//timeline
|
||||
wp_enqueue_style('mep-event-timeline-min-style', MPWEM_PLUGIN_URL . '/assets/helper/timeline/timeline.min.css', array('mep-event-style'));
|
||||
wp_enqueue_style('mep-event-timeline-min-style', MPWEM_PLUGIN_URL . '/assets/helper/timeline/timeline.min.css', array(''));
|
||||
wp_enqueue_script('mep-timeline-min', MPWEM_PLUGIN_URL . '/assets/helper/timeline/timeline.min.js', array('jquery'), 1, true);
|
||||
//calender
|
||||
wp_enqueue_style('mep-calendar-min-style', MPWEM_PLUGIN_URL . '/assets/helper/calender/calendar.min.css', array());
|
||||
|
|
|
@ -39,13 +39,6 @@ function mep_get_page_by_slug( $page_slug, $output = OBJECT, $post_type = 'page'
|
|||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function mep_add_event_into_feed_request($qv) {
|
||||
|
@ -167,42 +160,42 @@ if (!function_exists('mep_displays_cart_products_feature_image')) {
|
|||
}
|
||||
|
||||
if (!function_exists('mep_get_attendee_info_query')) {
|
||||
function mep_get_attendee_info_query($event_id, $order_id) {
|
||||
function mep_get_attendee_info_query($event_id, $order_id) {
|
||||
|
||||
$_user_set_status = mep_get_option('seat_reserved_order_status', 'general_setting_sec', array('processing','completed'));
|
||||
$_order_status = !empty($_user_set_status) ? $_user_set_status : array('processing','completed');
|
||||
$order_status = array_values($_order_status);
|
||||
$_user_set_status = mep_get_option('seat_reserved_order_status', 'general_setting_sec', array('processing','completed'));
|
||||
$_order_status = !empty($_user_set_status) ? $_user_set_status : array('processing','completed');
|
||||
$order_status = array_values($_order_status);
|
||||
|
||||
$order_status_filter = array(
|
||||
'key' => 'ea_order_status',
|
||||
'value' => $order_status,
|
||||
'compare' => 'OR'
|
||||
);
|
||||
$order_status_filter = array(
|
||||
'key' => 'ea_order_status',
|
||||
'value' => $order_status,
|
||||
'compare' => 'OR'
|
||||
);
|
||||
|
||||
$args = array(
|
||||
'post_type' => 'mep_events_attendees',
|
||||
'posts_per_page' => -1,
|
||||
'meta_query' => array(
|
||||
'relation' => 'AND',
|
||||
array(
|
||||
$args = array(
|
||||
'post_type' => 'mep_events_attendees',
|
||||
'posts_per_page' => -1,
|
||||
'meta_query' => array(
|
||||
'relation' => 'AND',
|
||||
array(
|
||||
'key' => 'ea_event_id',
|
||||
'value' => $event_id,
|
||||
'compare' => '='
|
||||
'relation' => 'AND',
|
||||
array(
|
||||
'key' => 'ea_event_id',
|
||||
'value' => $event_id,
|
||||
'compare' => '='
|
||||
),
|
||||
array(
|
||||
'key' => 'ea_order_id',
|
||||
'value' => $order_id,
|
||||
'compare' => '='
|
||||
)
|
||||
),
|
||||
array(
|
||||
'key' => 'ea_order_id',
|
||||
'value' => $order_id,
|
||||
'compare' => '='
|
||||
)
|
||||
),
|
||||
$order_status_filter
|
||||
)
|
||||
);
|
||||
$loop = new WP_Query($args);
|
||||
return $loop;
|
||||
}
|
||||
$order_status_filter
|
||||
)
|
||||
);
|
||||
$loop = new WP_Query($args);
|
||||
return $loop;
|
||||
}
|
||||
}
|
||||
|
||||
if (!function_exists('mep_email_dynamic_content')) {
|
||||
|
@ -1021,6 +1014,9 @@ if (!function_exists('mep_attendee_status_update')) {
|
|||
if (get_post_type($event_id) == 'mep_events') {
|
||||
$event_ticket_info_arr = wc_get_order_item_meta($item_id,'_event_ticket_info',true);
|
||||
|
||||
$org = get_the_terms($event_id, 'mep_org');
|
||||
$term_id = $org[0]->term_id;
|
||||
$org_email = get_term_meta( $term_id, 'org_email', true ) ? get_term_meta( $term_id, 'org_email', true ) : '';
|
||||
|
||||
if ($order->has_status('processing')) {
|
||||
|
||||
|
@ -1032,6 +1028,10 @@ if (!function_exists('mep_attendee_status_update')) {
|
|||
do_action('mep_wc_order_status_change', $order_status, $event_id, $order_id);
|
||||
if (in_array('processing', $email_send_status)) {
|
||||
mep_event_confirmation_email_sent($event_id, $email, $order_id);
|
||||
|
||||
if(!empty($org_email)){
|
||||
// mep_event_confirmation_email_sent($event_id, $org_email, $order_id);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1057,6 +1057,12 @@ if (!function_exists('mep_attendee_status_update')) {
|
|||
do_action('mep_wc_order_status_change', $order_status, $event_id, $order_id);
|
||||
if (in_array('completed', $email_send_status)) {
|
||||
mep_event_confirmation_email_sent($event_id, $email, $order_id);
|
||||
|
||||
if(!empty($org_email)){
|
||||
mep_event_confirmation_email_sent($event_id, $org_email, $order_id);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
if ($order->has_status('cancelled')) {
|
||||
|
@ -1336,7 +1342,8 @@ if (!function_exists('mep_custom_event_column')) {
|
|||
} else {
|
||||
$event_expire_on_old = mep_get_option('mep_event_expire_on_datetimes', 'general_setting_sec', 'event_start_datetime');
|
||||
$event_expire_on = $event_expire_on_old == 'event_end_datetime' ? 'event_expire_datetime' : $event_expire_on_old;
|
||||
$event_date = $values[$event_expire_on][0];
|
||||
// $event_date = $values[$event_expire_on][0];
|
||||
$event_date = !empty(get_post_meta($post_id,$event_expire_on,true)) ? get_post_meta($post_id,$event_expire_on,true) : '';
|
||||
}
|
||||
echo mep_get_event_status($event_date);
|
||||
break;
|
||||
|
@ -1503,12 +1510,25 @@ if (!function_exists('mep_calender_date')) {
|
|||
|
||||
if (!function_exists('mep_add_to_google_calender_link')) {
|
||||
function mep_add_to_google_calender_link($pid) {
|
||||
$event = get_post($pid);
|
||||
$event = get_post($pid);
|
||||
$event_meta = get_post_custom($pid);
|
||||
$event_start = $event_meta['event_start_date'][0] . ' ' . $event_meta['event_start_time'][0];
|
||||
$event_end = $event_meta['event_end_date'][0] . ' ' . $event_meta['event_end_time'][0];
|
||||
|
||||
$location = $event_meta['mep_location_venue'][0] . " " . $event_meta['mep_street'][0] . " " . $event_meta['mep_city'][0] . " " . $event_meta['mep_state'][0] . " " . $event_meta['mep_postcode'][0] . " " . $event_meta['mep_country'][0];
|
||||
$start_date = !empty(get_post_meta($pid,'event_start_date',true)) ? get_post_meta($pid,'event_start_date',true) : "";
|
||||
$start_time = !empty(get_post_meta($pid,'event_start_time',true)) ? get_post_meta($pid,'event_start_time',true) : "";
|
||||
|
||||
$end_date = !empty(get_post_meta($pid,'event_end_date',true)) ? get_post_meta($pid,'event_end_date',true) : "";
|
||||
$end_time = !empty(get_post_meta($pid,'event_end_time',true)) ? get_post_meta($pid,'event_end_time',true) : "";
|
||||
|
||||
$venue = !empty(get_post_meta($pid,'mep_location_venue',true)) ? get_post_meta($pid,'mep_location_venue',true) : "";
|
||||
$street = !empty(get_post_meta($pid,'mep_street',true)) ? get_post_meta($pid,'mep_street',true) : "";
|
||||
$city = !empty(get_post_meta($pid,'mep_city',true)) ? get_post_meta($pid,'mep_city',true) : "";
|
||||
$state = !empty(get_post_meta($pid,'mep_state',true)) ? get_post_meta($pid,'mep_state',true) : "";
|
||||
$postcode = !empty(get_post_meta($pid,'mep_postcode',true)) ? get_post_meta($pid,'mep_postcode',true) : "";
|
||||
$country = !empty(get_post_meta($pid,'mep_country',true)) ? get_post_meta($pid,'mep_country',true) : "";
|
||||
|
||||
$event_start = $start_date . ' ' . $start_time;
|
||||
$event_end = $end_date . ' ' . $end_time;
|
||||
$location = $venue . " " . $street . " " . $city . " " . $state . " " . $postcode . " " . $country;
|
||||
ob_start();
|
||||
require(mep_template_file_path('single/add_calendar.php'));
|
||||
?>
|
||||
|
|
|
@ -32,6 +32,13 @@ function mep_org_tax_location_fileds($taxonomy)
|
|||
<input type="text" name="org_postcode" id='org_postcode' class="postform">
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-field term-group">
|
||||
<label for="org_email"><?php _e('Email:', 'mage-eventpress'); ?></label>
|
||||
<input type="text" name="org_email" id='org_email' class="postform">
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-field term-group">
|
||||
<label for="org_country"><?php _e('Country:', 'mage-eventpress'); ?></label>
|
||||
<input type="text" name="org_country" id='org_country' class="postform">
|
||||
|
@ -195,6 +202,14 @@ function mep_save_feature_meta($term_id, $tt_id)
|
|||
$longitude = sanitize_text_field($_POST['longitude']);
|
||||
add_term_meta($term_id, 'longitude', $longitude);
|
||||
}
|
||||
|
||||
|
||||
if (isset($_POST['org_email'])) {
|
||||
$org_email = sanitize_text_field($_POST['org_email']);
|
||||
add_term_meta($term_id, 'org_email', $org_email);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -235,12 +250,26 @@ function mep_edit_feature_group_field($term, $taxonomy)
|
|||
<input type="text" name="org_postcode" id='org_postcode' class="postform" value='<?php echo get_term_meta($term->term_id, 'org_postcode', true); ?>'>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="form-field term-group-wrap">
|
||||
<th scope="row"><label for="org_email"><?php _e('Email:', 'mage-eventpress'); ?></label></th>
|
||||
<td>
|
||||
<input type="text" name="org_email" id='org_email' class="postform" value='<?php echo get_term_meta($term->term_id, 'org_email', true); ?>'>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr class="form-field term-group-wrap">
|
||||
<th scope="row"><label for="org_country"><?php _e('Country:', 'mage-eventpress'); ?></label></th>
|
||||
<td>
|
||||
<input type="text" name="org_country" id='org_country' class="postform" value='<?php echo get_term_meta($term->term_id, 'org_country', true); ?>'>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr class="form-field term-group-wrap">
|
||||
<th scope="row"><label for="org_country"><?php _e('Map:', 'mage-eventpress'); ?></label></th>
|
||||
<td>
|
||||
|
@ -418,4 +447,14 @@ function mep_update_feature_meta($term_id, $tt_id)
|
|||
$longitude = sanitize_text_field($_POST['longitude']);
|
||||
update_term_meta($term_id, 'longitude', $longitude);
|
||||
}
|
||||
|
||||
|
||||
if (isset($_POST['org_email'])) {
|
||||
$longitude = sanitize_text_field($_POST['org_email']);
|
||||
update_term_meta($term_id, 'org_email', $longitude);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -6,7 +6,10 @@ if (!defined('ABSPATH')) {
|
|||
add_action('wp_head', 'mep_user_custom_styles', 10, 999);
|
||||
function mep_user_custom_styles()
|
||||
{
|
||||
// mep_base_text_color
|
||||
$base_color = mep_get_option('mep_base_color', 'style_setting_sec', '#ffbe30');
|
||||
$base_text_color = mep_get_option('mep_base_text_color', 'style_setting_sec', '#ffffff');
|
||||
|
||||
$label_bg_color = mep_get_option('mep_title_bg_color', 'style_setting_sec', '#ffbe30');
|
||||
$label_text_color = mep_get_option('mep_title_text_color', 'style_setting_sec', '#ffffff');
|
||||
$cart_btn_bg_color = mep_get_option('mep_cart_btn_bg_color', 'style_setting_sec', '#ffbe30');
|
||||
|
@ -14,8 +17,10 @@ function mep_user_custom_styles()
|
|||
|
||||
$calender_btn_bg_color = mep_get_option('mep_calender_btn_bg_color', 'style_setting_sec', '#ffbe30');
|
||||
$calender_btn_txt_color = mep_get_option('mep_calender_btn_text_color', 'style_setting_sec', '#ffffff');
|
||||
|
||||
$faq_label_bg_color = mep_get_option('mep_faq_title_bg_color', 'style_setting_sec', '#ffbe30');
|
||||
$faq_label_text_color = mep_get_option('mep_faq_title_text_color', 'style_setting_sec', '#ffffff');
|
||||
|
||||
$royal_primary_bg_color = mep_get_option('mep_royal_primary_bg_color', 'style_setting_sec', '');
|
||||
$royal_secondary_bg_color = mep_get_option('mep_royal_secondary_bg_color', 'style_setting_sec', '');
|
||||
$royal_icons_bg_color = mep_get_option('mep_royal_icons_bg_color', 'style_setting_sec', '');
|
||||
|
@ -24,6 +29,7 @@ function mep_user_custom_styles()
|
|||
|
||||
?>
|
||||
<style>
|
||||
.mep-event-faq-part .ex-sec-title.faq-title-section{background: <?php echo esc_attr($faq_label_bg_color); ?>;color: <?php echo $faq_label_text_color; ?>;}
|
||||
.pagination_area button[class*="defaultButton_xs"],
|
||||
.list_with_filter_section [class*="defaultButton"],
|
||||
div.item_hover_effect a{
|
||||
|
@ -35,8 +41,9 @@ function mep_user_custom_styles()
|
|||
ul.mp_event_more_date_list li:hover{
|
||||
background-color:<?php echo esc_attr($base_color); ?>;
|
||||
}
|
||||
.mep-default-sidrbar-events-schedule ul li i, .mep-ev-start-date, h3.mep_list_date i, .df-ico i, .mep-default-sidrbar-address ul li i, .mep-default-sidrbar-social ul li a, button.mep-cat-control, .pagination-sec a {
|
||||
.mep-default-sidrbar-events-schedule ul li i, .mep-ev-start-date, h3.mep_list_date i, .df-ico i, .mep-default-sidrbar-address ul li i, .mep-default-sidrbar-social ul li a, button.mep-cat-control, .pagination-sec a, .mep-tem3-title-sec.mep_single_date_btn {
|
||||
background: <?php echo esc_attr($base_color); ?>;
|
||||
color: <?php echo esc_attr($base_text_color); ?>
|
||||
}
|
||||
.mep-default-sidrbar-meta .fa-list-alt,.mep-list-footer ul li i {
|
||||
background: transparent;
|
||||
|
@ -80,7 +87,7 @@ function mep_user_custom_styles()
|
|||
background: <?php echo esc_attr($label_bg_color); ?>;
|
||||
color: <?php echo esc_attr($label_text_color); ?>;
|
||||
}
|
||||
|
||||
.mpwemasp_ticket_area .mep_everyday_date_secs{ background: <?php echo esc_attr($label_bg_color); ?>; color: <?php echo esc_attr($label_text_color); ?>; }
|
||||
/*FAQ Sec Style*/
|
||||
.mep-default-feature-faq-sec h4, .tmep-emplate-3-faq-sec .mep-event-faq-part h4 {
|
||||
background: <?php echo esc_attr($faq_label_bg_color); ?>;
|
||||
|
@ -112,7 +119,8 @@ function mep_user_custom_styles()
|
|||
}
|
||||
#mep_add_calender_button,
|
||||
ul#mep_add_calender_links li a{
|
||||
background: <?php echo esc_attr($base_color); ?>;
|
||||
background: <?php echo esc_attr($calender_btn_bg_color); ?>;
|
||||
color: <?php echo esc_attr($calender_btn_txt_color); ?> !important;
|
||||
}
|
||||
/**/
|
||||
.mep_list_event_details p.read-more a{
|
||||
|
|
|
@ -9,7 +9,7 @@ if (!function_exists('mep_ev_org')) {
|
|||
{
|
||||
global $post, $author_terms;
|
||||
ob_start();
|
||||
$org = get_the_terms($event_id, 'mep_org');
|
||||
$org = get_the_terms($event_id, 'mep_org');
|
||||
if(!empty($org)){
|
||||
require(mep_template_file_path('single/organizer.php'));
|
||||
}
|
||||
|
@ -32,7 +32,7 @@ if (!function_exists('mep_ev_org_name')) {
|
|||
$names[] = $value->name;
|
||||
}
|
||||
}
|
||||
echo esc_html(join($names,', '));
|
||||
echo esc_html(implode(', ',$names));
|
||||
$content = ob_get_clean();
|
||||
echo apply_filters('mage_event_single_org_name', $content, $post->ID);
|
||||
}
|
||||
|
|
|
@ -73,7 +73,9 @@ if (post_password_required()) {
|
|||
if (!class_exists('WC_Advanced_Country_Restrictions_Dist')) {
|
||||
if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {
|
||||
if ( ! class_exists( 'Xoo_Wl_Core' ) ) {
|
||||
do_action('woocommerce_before_single_product');
|
||||
if ( ! class_exists( 'Ultimate_Woocommerce_Gift_Card_Public' ) ) {
|
||||
do_action('woocommerce_before_single_product');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ if (!function_exists('mep_ev_seat')) {
|
|||
$upcoming_date = !empty(mep_get_event_upcoming_date($event_id)) ? mep_get_event_upcoming_date($event_id) : '';
|
||||
$total_seat = apply_filters('mep_event_total_seat_counts', mep_event_total_seat($event_id, 'total'), $event_id);
|
||||
$total_resv = apply_filters('mep_event_total_resv_seat_count', mep_event_total_seat($event_id, 'resv'), $event_id);
|
||||
// $total_sold = mep_ticket_type_sold($event_id);
|
||||
$total_sold = mep_ticket_type_sold($event_id);
|
||||
$total_sold = mep_get_event_total_seat_left($event_id, $upcoming_date);
|
||||
$total_left = (int) $total_seat - ((int) $total_sold + (int) $total_resv);
|
||||
// $total_seat = apply_filters('mep_event_total_seat_count', $_total_left, $event_id,'',$event_date);
|
||||
|
|
14
readme.txt
14
readme.txt
|
@ -2,11 +2,11 @@
|
|||
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.0
|
||||
Version: 4.1.0
|
||||
Stable tag: 4.1.1
|
||||
Version: 4.1.1
|
||||
Tested up to: 6.4
|
||||
WC requires at least: 3.0
|
||||
WC tested up to: 8.3
|
||||
WC tested up to: 8.4
|
||||
Requires PHP: 7.0
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
@ -431,6 +431,14 @@ A. You can create a support ticket here with problem details with possible scree
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 4.1.1 =
|
||||
* Custom Styling issue has been fixed
|
||||
* Event Org Elementor Widget issue fixed
|
||||
* Event List pagination issue fixed
|
||||
* Organizer Email Option added.
|
||||
27 Dec 2023*
|
||||
|
||||
|
||||
= 4.1.0 =
|
||||
* Styling issue has been fixed
|
||||
* Event Ticket Expire before minutes not working for seat plan issue has been fixed
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="mep-event-faq-part">
|
||||
<h3 class="ex-sec-title"><?php esc_html_e('Event FAQs', 'mage-eventpress'); ?></h3>
|
||||
<h3 class="ex-sec-title faq-title-section"><?php esc_html_e('Event FAQs', 'mage-eventpress'); ?></h3>
|
||||
<?php foreach ($mep_event_faq as $field): ?>
|
||||
<div class="mep-event-faq-set">
|
||||
<a>
|
||||
|
|
|
@ -47,12 +47,14 @@
|
|||
<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 = 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);
|
||||
do_action('mepgq_max_qty_hook',$post_id, max($total_ticket_left, 0));
|
||||
|
||||
?>
|
||||
<?php if ($mep_available_seat == 'on') { ?>
|
||||
<div class="xtra-item-left"><?php echo esc_html(max($total_ticket_left, 0)); ?>
|
||||
|
||||
<?php echo mep_get_option('mep_left_text', 'label_setting_sec', __('Left:', 'mage-eventpress')); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Plugin Name: Event Manager and Tickets Selling Plugin for WooCommerce - WpEvently - WordPress Plugin
|
||||
* Plugin URI: http://mage-people.com
|
||||
* Description: A Complete Event Solution for WordPress by MagePeople..
|
||||
* Version: 4.1.0
|
||||
* Version: 4.1.1
|
||||
* Author: MagePeople Team
|
||||
* Author URI: http://www.mage-people.com/
|
||||
* Text Domain: mage-eventpress
|
||||
|
@ -12,8 +12,7 @@
|
|||
if (!defined('ABSPATH')) {
|
||||
die;
|
||||
} // Cannot access pages directly.
|
||||
|
||||
// Checking woo
|
||||
// Checking woo
|
||||
include_once(ABSPATH . 'wp-admin/includes/plugin.php');
|
||||
if (!defined('MPWEM_PLUGIN_DIR')) {
|
||||
define('MPWEM_PLUGIN_DIR', dirname(__FILE__));
|
||||
|
|
Loading…
Reference in New Issue