version 3.2.0 released
This commit is contained in:
parent
c93f1c0035
commit
daaaa38376
|
@ -213,4 +213,10 @@ div#mep-event-price h2 {
|
|||
div#mage-primary-button{
|
||||
background:green !important;
|
||||
color:white !important;
|
||||
}
|
||||
ul.mep_rt_settings_list li {
|
||||
display: block;
|
||||
margin: 20px 0;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding: 5px 0 10px;
|
||||
}
|
|
@ -375,6 +375,53 @@ div.mep-default-feature-content p {
|
|||
letter-spacing: inherit;
|
||||
}
|
||||
|
||||
ul.mep-more-date-lists li span i {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
padding: 6px 0 0 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
ul.mep-more-date-lists li span {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
ul.mep-more-date-lists li {
|
||||
display: block;
|
||||
border-bottom: 1px dashed #ddd;
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
.pagination-sec a {
|
||||
display: inline-block;
|
||||
background: #81d742;
|
||||
color: #fff;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
|
||||
.pagination-sec span.page-numbers.current {
|
||||
padding: 15px 20px;
|
||||
background: #ddd;
|
||||
}
|
||||
.mep_more_date_btn {
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
background: #81d742;
|
||||
color: #fff;
|
||||
padding: 5px 20px;
|
||||
position: absolute;
|
||||
bottom: -52px;
|
||||
left: 32%;
|
||||
}
|
||||
span#hide_event_schdule {
|
||||
position: relative;
|
||||
left: 23%;
|
||||
bottom: -20px;
|
||||
display: inline-block;
|
||||
width: 60%;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
/******Responsive*******/
|
||||
@media only screen and (max-width: 1199px) {
|
||||
/********Default Theme***********/
|
||||
|
|
|
@ -31,6 +31,17 @@ function mep_event_meta_box_add(){
|
|||
|
||||
}
|
||||
add_meta_box( 'mep-event-rest-count-sec', __('Event Reset Booking Count','mage-eventpress'), 'mep_event_reset_booking_count', 'mep_events', 'side', 'low' );
|
||||
|
||||
|
||||
|
||||
|
||||
add_meta_box( 'mep-event-rich-text', __('<span class="dashicons dashicons-admin-generic" style="color:green; padding-right:10px;"></span>Event Rich text','mage-eventpress'), 'mep_event_rich_text_meta_box_cb', 'mep_events', 'normal', 'high' );
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
add_action('admin_head','mep_hide_single_price_section');
|
||||
|
@ -45,6 +56,89 @@ function mep_hide_single_price_section(){
|
|||
}
|
||||
|
||||
|
||||
function mep_event_rich_text_meta_box_cb($post){
|
||||
wp_nonce_field( 'mep_event_ricn_text_nonce', 'mep_event_ricn_text_nonce' );
|
||||
$event_start_date = get_post_meta($post->ID,'event_start_datetime',true) ? get_post_meta($post->ID,'event_start_datetime',true) : '';
|
||||
$event_end_date = get_post_meta($post->ID,'event_end_datetime',true) ? get_post_meta($post->ID,'event_end_datetime',true) : '';
|
||||
$event_rt_status = get_post_meta($post->ID,'mep_rt_event_status',true) ? get_post_meta($post->ID,'mep_rt_event_status',true) : '';
|
||||
$event_rt_atdnce_mode = get_post_meta($post->ID,'mep_rt_event_attandence_mode',true) ? get_post_meta($post->ID,'mep_rt_event_attandence_mode',true) : '';
|
||||
$event_rt_prv_date = get_post_meta($post->ID,'mep_rt_event_prvdate',true) ? get_post_meta($post->ID,'mep_rt_event_prvdate',true) : $event_start_date;
|
||||
?>
|
||||
<div class='sec'>
|
||||
<ul class='mep_rt_settings_list'>
|
||||
<li><b>Type:</b><br/> Event</li>
|
||||
<li><b>Name:</b><br/> <?php echo get_the_title($post->ID); ?></li>
|
||||
<li><b>Start Date:</b><br/> <?php if($event_start_date){ echo get_mep_datetime($event_start_date,'date-time-text'); } ?></li>
|
||||
<li><b>End Date:</b><br/> <?php if($event_end_date){ echo get_mep_datetime($event_end_date,'date-time-text'); } ?></li>
|
||||
<li><b>Event Status:</b><br/>
|
||||
<select style="" id="mep_rt_event_status" name="mep_rt_event_status" class="select short">
|
||||
<option value="EventScheduled" <?php if($event_rt_status=='EventScheduled'){ echo 'Selected'; } ?>>Event Scheduled</option>
|
||||
<option value="EventRescheduled" <?php if($event_rt_status=='EventRescheduled'){ echo 'Selected'; } ?>>Event Rescheduled</option>
|
||||
<option value="EventMovedOnline" <?php if($event_rt_status=='EventMovedOnline'){ echo 'Selected'; } ?>>Event Moved Online</option>
|
||||
<option value="EventPostponed" <?php if($event_rt_status=='EventPostponed'){ echo 'Selected'; } ?>>Event Postponed</option>
|
||||
<option value="EventCancelled" <?php if($event_rt_status=='EventCancelled'){ echo 'Selected'; } ?>>Event Cancelled</option>
|
||||
</select>
|
||||
|
||||
</li>
|
||||
<li><b>Event Attendance Mode:</b><br/>
|
||||
<select style="" id="mep_rt_event_attandence_mode" name="mep_rt_event_attandence_mode" class="select short">
|
||||
<option value="OfflineEventAttendanceMode" <?php if($event_rt_atdnce_mode=='OfflineEventAttendanceMode'){ echo 'Selected'; } ?>>OfflineEventAttendanceMode</option>
|
||||
<option value="OnlineEventAttendanceMode" <?php if($event_rt_atdnce_mode=='OnlineEventAttendanceMode'){ echo 'Selected'; } ?>>OnlineEventAttendanceMode</option>
|
||||
<option value="MixedEventAttendanceMode" <?php if($event_rt_atdnce_mode=='MixedEventAttendanceMode'){ echo 'Selected'; } ?>>MixedEventAttendanceMode</option>
|
||||
</select>
|
||||
</li>
|
||||
<li><b>Previous Start Date:</b> <input id='mep_rt_event_prvdate' class='event_more_date' type='text' name='mep_rt_event_prvdate' value='<?php echo $event_rt_prv_date; ?>'/></li>
|
||||
</ul>
|
||||
|
||||
<?php
|
||||
if($post->ID){
|
||||
?>
|
||||
<a href='https://search.google.com/test/rich-results?utm_campaign=devsite&utm_medium=jsonld&utm_source=event&url=<?php echo get_the_permalink($post->ID); ?>&user_agent=2' target="_blank">Check Rich Text Status</a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
|
||||
add_action('save_post','mep_rt_meta_save');
|
||||
function mep_rt_meta_save($post_id){
|
||||
|
||||
global $wpdb;
|
||||
|
||||
if ( ! isset( $_POST['mep_event_ricn_text_nonce'] ) || ! wp_verify_nonce( $_POST['mep_event_ricn_text_nonce'], 'mep_event_ricn_text_nonce' ) )
|
||||
return;
|
||||
|
||||
if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE)
|
||||
return;
|
||||
|
||||
if (!current_user_can('edit_post', $post_id))
|
||||
return;
|
||||
|
||||
|
||||
if (get_post_type($post_id) == 'mep_events') {
|
||||
|
||||
$event_rt_status = $_POST['mep_rt_event_status'];
|
||||
$event_rt_atdnce_mode = $_POST['mep_rt_event_attandence_mode'];
|
||||
$event_rt_prv_date = $_POST['mep_rt_event_prvdate'];
|
||||
|
||||
update_post_meta( $post_id, 'mep_rt_event_status', $event_rt_status);
|
||||
update_post_meta( $post_id, 'mep_rt_event_attandence_mode', $event_rt_atdnce_mode);
|
||||
update_post_meta( $post_id, 'mep_rt_event_prvdate', $event_rt_prv_date);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function mep_event_reset_booking_count($post){
|
||||
$values = get_post_custom( $post->ID );
|
||||
wp_nonce_field( 'mep_event_reset_btn_nonce', 'mep_event_reset_btn_nonce' );
|
||||
|
|
|
@ -2362,5 +2362,141 @@ function mep_hide_event_order_data_from_thankyou_and_email($formatted_meta){
|
|||
}
|
||||
|
||||
|
||||
add_action('mep_event_list_loop_footer','mep_event_recurring_date_list_in_event_list_loop');
|
||||
function mep_event_recurring_date_list_in_event_list_loop($event_id){
|
||||
$recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no';
|
||||
$more_date = get_post_meta($event_id,'mep_event_more_date',true);
|
||||
$start_datetime = get_post_meta($event_id,'event_start_datetime',true);
|
||||
$start_date = get_post_meta($event_id,'event_start_date',true);
|
||||
$end_date = get_post_meta($event_id,'event_end_date',true);
|
||||
$end_datetime = get_post_meta($event_id,'event_end_datetime',true);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if(is_array($more_date) && sizeof($more_date) > 0){
|
||||
|
||||
?>
|
||||
<ul class='mep-more-date-lists'>
|
||||
<?php
|
||||
if (strtotime(current_time('Y-m-d H:i')) < strtotime($start_datetime)) {
|
||||
?>
|
||||
<li><span class='mep-more-date'><i class="fa fa-calendar"></i> <?php echo get_mep_datetime($start_datetime, 'date-text'); ?></span> <span class='mep-more-time'><i class="fa fa-clock-o"></i> <?php echo get_mep_datetime($start_datetime, 'time'); ?> - <?php if ($start_date != $end_date) {
|
||||
echo get_mep_datetime($end_datetime, 'date-text') . ' - ';
|
||||
}
|
||||
echo get_mep_datetime($end_datetime, 'time'); ?></span></li>
|
||||
<?php
|
||||
}
|
||||
|
||||
foreach ($more_date as $_more_date) {
|
||||
if (strtotime(current_time('Y-m-d H:i')) < strtotime($_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'])) {
|
||||
if ($mep_show_upcoming_event == 'yes') {
|
||||
$cnt = 1;
|
||||
} else {
|
||||
$cnt = $cn;
|
||||
}
|
||||
if ($cn == $cnt) {
|
||||
?>
|
||||
<li><span class='mep-more-date'><i class="fa fa-calendar"></i> <?php echo get_mep_datetime($_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'], 'date-text'); ?></span> <span class='mep-more-time'><i class="fa fa-clock-o"></i> <?php echo get_mep_datetime($_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'], 'time'); ?> - <?php if ($_more_date['event_more_start_date'] != $_more_date['event_more_end_date']) {
|
||||
echo get_mep_datetime($_more_date['event_more_end_date'] . ' ' . $_more_date['event_more_end_time'], 'date-text') . ' - ';
|
||||
}
|
||||
echo get_mep_datetime($_more_date['event_more_end_date'] . ' ' . $_more_date['event_more_end_time'], 'time'); ?></span></li>
|
||||
<?php
|
||||
$cn++;
|
||||
}
|
||||
}
|
||||
}
|
||||
echo '</ul>';
|
||||
?>
|
||||
<span id="show_event_schdule" class='mep_more_date_btn'><?php _e('Show Event Date Lists','mage-eventpress'); ?></span>
|
||||
<span id="hide_event_schdule" class='mep_more_date_btn'><?php _e('Hide Event Date Lists','mage-eventpress'); ?></span>
|
||||
<script>
|
||||
jQuery('.mep-more-date-lists, #hide_event_schdule').hide();
|
||||
jQuery('#show_event_schdule').click(function(){
|
||||
jQuery(this).hide()
|
||||
jQuery('.mep-more-date-lists, #hide_event_schdule').show(100);
|
||||
});
|
||||
jQuery('#hide_event_schdule').click(function(){
|
||||
jQuery(this).hide()
|
||||
jQuery('.mep-more-date-lists').hide(100);
|
||||
jQuery('#show_event_schdule').show();
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function mep_event_get_the_content( $post = 0 ){
|
||||
$post = get_post( $post );
|
||||
return ( !empty(apply_filters('the_content', $post->post_content)) );
|
||||
}
|
||||
|
||||
|
||||
|
||||
add_action('wp_head','mep_event_rich_text_data');
|
||||
function mep_event_rich_text_data(){
|
||||
global $post;
|
||||
$event_id = $post->ID;
|
||||
if(is_single() && $event_id && get_post_type($post_id) == 'mep_events'){
|
||||
|
||||
$event_name = get_the_title($event_id);
|
||||
$event_start_date = get_post_meta($post->ID,'event_start_datetime',true) ? get_post_meta($post->ID,'event_start_datetime',true) : '';
|
||||
$event_end_date = get_post_meta($post->ID,'event_end_datetime',true) ? get_post_meta($post->ID,'event_end_datetime',true) : '';
|
||||
$event_rt_status = get_post_meta($post->ID,'mep_rt_event_status',true) ? get_post_meta($post->ID,'mep_rt_event_status',true) : 'EventRescheduled';
|
||||
$event_rt_atdnce_mode = get_post_meta($post->ID,'mep_rt_event_attandence_mode',true) ? get_post_meta($post->ID,'mep_rt_event_attandence_mode',true) : 'OfflineEventAttendanceMode';
|
||||
$event_rt_prv_date = get_post_meta($post->ID,'mep_rt_event_prvdate',true) ? get_post_meta($post->ID,'mep_rt_event_prvdate',true) : $event_start_date;
|
||||
$terms = get_the_terms( $event_id, 'mep_org' );
|
||||
$org_name = is_array($terms) && sizeof($terms) > 0 ? $terms[0]->name : 'No Performer';
|
||||
ob_start();
|
||||
|
||||
?>
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Event",
|
||||
"name": "<?php echo $event_name; ?>",
|
||||
"startDate": "<?php echo $event_start_date; ?>",
|
||||
"endDate": "<?php echo $event_end_date; ?>",
|
||||
"eventStatus": "https://schema.org/<?php echo $event_rt_status; ?>",
|
||||
"eventAttendanceMode": "https://schema.org/<?php echo $event_rt_atdnce_mode; ?>",
|
||||
"previousStartDate": "<?php echo $event_rt_prv_date; ?>",
|
||||
"location": {
|
||||
"@type": "Place",
|
||||
"name": "<?php echo mep_get_event_location($event_id); ?>",
|
||||
"address": {
|
||||
"@type": "PostalAddress",
|
||||
"streetAddress": "<?php echo mep_get_event_location_street($event_id); ?>",
|
||||
"addressLocality": "<?php echo mep_get_event_location_city($event_id); ?>",
|
||||
"postalCode": "<?php echo mep_get_event_location_postcode($event_id) ?>",
|
||||
"addressRegion": "<?php echo mep_get_event_location_state($event_id) ?>",
|
||||
"addressCountry": "<?php echo mep_get_event_location_country($event_id) ?>"
|
||||
}
|
||||
},
|
||||
"image": [
|
||||
"<?php echo get_the_post_thumbnail_url($event_id,'full'); ?>"
|
||||
],
|
||||
"description": "<?php echo get_the_excerpt($event_id); ?>",
|
||||
"performer": {
|
||||
"@type": "PerformingGroup",
|
||||
"name": "<?php echo $org_name; ?>"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<?php
|
||||
echo $content = ob_get_clean();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
add_filter( 'woocommerce_order_item_get_formatted_meta_data', 'mep_hide_event_order_meta_in_emails' );
|
||||
function mep_hide_event_order_meta_in_emails( $meta ) {
|
||||
if( ! is_admin() ) {
|
||||
$criteria = array( 'key' => 'event_id' );
|
||||
$meta = wp_list_filter( $meta, $criteria, 'NOT' );
|
||||
}
|
||||
return $meta;
|
||||
}
|
||||
|
|
|
@ -96,6 +96,85 @@ $org_id = $org_arr[0]->term_id;
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Event Location Get Functions
|
||||
*/
|
||||
|
||||
function mep_get_event_location($event_id){
|
||||
$location_sts = get_post_meta($event_id,'mep_org_address',true);
|
||||
if($location_sts){
|
||||
$org_arr = get_the_terms( $event_id, 'mep_org' );
|
||||
$org_id = $org_arr[0]->term_id;
|
||||
return get_term_meta( $org_id, 'org_location', true );
|
||||
}else{
|
||||
return get_post_meta($event_id,'mep_location_venue',true);
|
||||
}
|
||||
}
|
||||
|
||||
function mep_get_event_location_street($event_id){
|
||||
$location_sts = get_post_meta($event_id,'mep_org_address',true);
|
||||
if($location_sts){
|
||||
$org_arr = get_the_terms( $event_id, 'mep_org' );
|
||||
$org_id = $org_arr[0]->term_id;
|
||||
return get_term_meta( $org_id, 'org_street', true );
|
||||
}else{
|
||||
return get_post_meta($event_id,'mep_street',true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function mep_get_event_location_city($event_id){
|
||||
$location_sts = get_post_meta($event_id,'mep_org_address',true);
|
||||
if($location_sts){
|
||||
$org_arr = get_the_terms( $event_id, 'mep_org' );
|
||||
$org_id = $org_arr[0]->term_id;
|
||||
return get_term_meta( $org_id, 'org_city', true );
|
||||
}else{
|
||||
return get_post_meta($event_id,'mep_city',true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function mep_get_event_location_state($event_id){
|
||||
$location_sts = get_post_meta($event_id,'mep_org_address',true);
|
||||
if($location_sts){
|
||||
$org_arr = get_the_terms( $event_id, 'mep_org' );
|
||||
$org_id = $org_arr[0]->term_id;
|
||||
return get_term_meta( $org_id, 'org_state', true );
|
||||
}else{
|
||||
return get_post_meta($event_id,'mep_state',true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function mep_get_event_location_postcode($event_id){
|
||||
$location_sts = get_post_meta($event_id,'mep_org_address',true);
|
||||
if($location_sts){
|
||||
$org_arr = get_the_terms( $event_id, 'mep_org' );
|
||||
$org_id = $org_arr[0]->term_id;
|
||||
return get_term_meta( $org_id, 'org_postcode', true );
|
||||
}else{
|
||||
return get_post_meta($event_id,'mep_postcode',true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function mep_get_event_location_country($event_id){
|
||||
$location_sts = get_post_meta($event_id,'mep_org_address',true);
|
||||
if($location_sts){
|
||||
$org_arr = get_the_terms( $event_id, 'mep_org' );
|
||||
$org_id = $org_arr[0]->term_id;
|
||||
return get_term_meta( $org_id, 'org_country', true );
|
||||
}else{
|
||||
return get_post_meta($event_id,'mep_country',true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
add_action('mep_event_location_street','mep_ev_street');
|
||||
function mep_ev_street(){
|
||||
|
|
|
@ -18,18 +18,21 @@ function mep_display_event_loop_list($event_id,$columnNumber,$style){
|
|||
$hide_location_list = mep_get_option('mep_event_hide_location_list', 'general_setting_sec', 'no');
|
||||
$hide_time_list = mep_get_option('mep_event_hide_time_list', 'general_setting_sec', 'no');
|
||||
$hide_only_end_time_list = mep_get_option('mep_event_hide_end_time_list', 'general_setting_sec', 'no');
|
||||
$recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no';
|
||||
|
||||
ob_start();
|
||||
?>
|
||||
|
||||
<div class='<?php echo $columnNumber; ?> mep_event_<?php echo $style; ?>_item mix <?php if ($tt) { echo $org_class; } ?> <?php if ($torg) { echo $cat_class; } ?>'>
|
||||
<?php do_action('mep_event_list_loop_header',$event_id); ?>
|
||||
<div class="mep_list_thumb">
|
||||
<a href="<?php echo get_the_permalink($event_id); ?>"><?php echo get_the_post_thumbnail($event_id,'full'); ?></a>
|
||||
<?php if(sizeof($event_multidate) == 0){ ?>
|
||||
<div class="mep-ev-start-date">
|
||||
<div class="mep-day"><?php echo get_mep_datetime($event_meta['event_start_datetime'][0],'day'); ?></div>
|
||||
<div class="mep-month"><?php echo get_mep_datetime($event_meta['event_start_datetime'][0],'month'); ?></div>
|
||||
</div>
|
||||
<?php if(is_array($event_multidate) && sizeof($event_multidate) >0){ ?>
|
||||
<?php } if(is_array($event_multidate) && sizeof($event_multidate) >0){ ?>
|
||||
<div class='mep-multidate-ribbon mep-tem3-title-sec'>
|
||||
<span><?php _e('Multi Date Event','mage-eventpress'); ?></span>
|
||||
</div>
|
||||
|
@ -83,7 +86,7 @@ ob_start();
|
|||
</div>
|
||||
</li>
|
||||
<?php }
|
||||
if ($hide_time_list == 'no') { ?>
|
||||
if ($hide_time_list == 'no' && sizeof($event_multidate) == 0) { ?>
|
||||
<li>
|
||||
<div class="evl-ico"><i class="fa fa-calendar"></i></div>
|
||||
<div class="evl-cc">
|
||||
|
@ -97,8 +100,10 @@ ob_start();
|
|||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</a>
|
||||
<?php do_action('mep_event_list_loop_footer',$event_id); ?>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -21,4 +21,11 @@ jQuery(document).ready(function($){
|
|||
// });
|
||||
|
||||
|
||||
jQuery('.event_more_date').datetimepicker({
|
||||
dateFormat: 'yy-mm-dd',
|
||||
timeFormat: "HH:mm"
|
||||
// minDate:0
|
||||
});
|
||||
|
||||
|
||||
});
|
21
readme.txt
21
readme.txt
|
@ -384,4 +384,23 @@ CatID & OrgID Column Added
|
|||
Some Bug Fixed
|
||||
Code Improved
|
||||
Expire Event List Shortcode issue fixed
|
||||
05 Feb 2020*
|
||||
05 Feb 2020*
|
||||
|
||||
|
||||
= 3.1.5 =
|
||||
* Update Release:
|
||||
Some Bug Fixed
|
||||
Code Improved
|
||||
11 March 2020*
|
||||
|
||||
|
||||
= 3.2.0 =
|
||||
* Update Release:
|
||||
Some Bug Fixed
|
||||
Code Improved
|
||||
Multi date list added in the Event listing page
|
||||
Schema Rich Text Added, Now it ca be easily add the rich text schema text.
|
||||
PHP Warning removed
|
||||
Added some Action & Filter Hooks
|
||||
Pagination Styling issue fixed
|
||||
24 March 2020*
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Plugin Name: Woocommerce Events Manager
|
||||
* Plugin URI: http://mage-people.com
|
||||
* Description: A Complete Event Solution for WordPress by MagePeople..
|
||||
* Version: 3.1.5
|
||||
* Version: 3.2.0
|
||||
* Author: MagePeople Team
|
||||
* Author URI: http://www.mage-people.com/
|
||||
* Text Domain: mage-eventpress
|
||||
|
@ -26,14 +26,3 @@ function mep_admin_notice_wc_not_active() {
|
|||
}
|
||||
add_action( 'admin_notices', 'mep_admin_notice_wc_not_active' );
|
||||
}
|
||||
|
||||
|
||||
|
||||
function kia_hide_mnm_meta_in_emails( $meta ) {
|
||||
if( ! is_admin() ) {
|
||||
$criteria = array( 'key' => 'event_id' );
|
||||
$meta = wp_list_filter( $meta, $criteria, 'NOT' );
|
||||
}
|
||||
return $meta;
|
||||
}
|
||||
add_filter( 'woocommerce_order_item_get_formatted_meta_data', 'kia_hide_mnm_meta_in_emails' );
|
Loading…
Reference in New Issue