From bd333739cae024f2813337d7e340aeef91d08cd5 Mon Sep 17 00:00:00 2001 From: magepeopleteam Date: Tue, 9 Apr 2019 06:06:51 +0000 Subject: [PATCH] fixed share button 404, calendar button issue --- woocommerce-event-press.php | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/woocommerce-event-press.php b/woocommerce-event-press.php index 52894bf..21e4430 100644 --- a/woocommerce-event-press.php +++ b/woocommerce-event-press.php @@ -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: 2.5.4 +* Version: 2.5.5 * Author: MagePeople Team * Author URI: http://www.mage-people.com/ * Text Domain: mage-eventpress @@ -23,6 +23,7 @@ require_once(dirname(__FILE__) . "/inc/mep_shortcode.php"); require_once(dirname(__FILE__) . "/inc/admin_setting_panel.php"); require_once(dirname(__FILE__) . "/inc/mep_enque.php"); require_once(dirname(__FILE__) . "/templates/template-prts/templating.php"); +// require_once(dirname(__FILE__) . "/lib/PHPExcel.php"); require_once(dirname(__FILE__) . "/inc/mep_csv_export.php"); require_once(dirname(__FILE__) . "/inc/mep_user_custom_style.php"); require_once(dirname(__FILE__) . "/inc/mep_tax_meta.php"); @@ -192,6 +193,10 @@ global $wpdb; return $value; } + + + + add_action( 'woocommerce_thankyou','mep_set_first_order_sts'); function mep_set_first_order_sts($order_id ){ @@ -209,6 +214,13 @@ update_post_meta( $event_id, $mep_atnd, "a1"); } + + + + + + + add_action('woocommerce_order_status_changed', 'mep_event_seat_management', 10, 4); function mep_event_seat_management( $order_id, $from_status, $to_status, $order ) { global $wpdb; @@ -530,9 +542,9 @@ function mep_social_share(){ post_title; ?> &dates=/ -&details=post_content); ?> +&details=post_content),0,1000); ?> &location= &trp=false &sprop= @@ -1184,6 +1196,11 @@ function mep_wc_price( $price, $args = array() ) { + + + + + }else{ function mep_admin_notice_wc_not_active() { $class = 'notice notice-error';