function update

This commit is contained in:
magepeopleteam 2022-01-13 04:50:00 +00:00
parent 36523d46b2
commit 6688763843
3 changed files with 3 additions and 5 deletions

View File

@ -257,7 +257,7 @@ function mep_checkout_validation($posted)
if ($ticket_qty > $available_seat) { if ($ticket_qty > $available_seat) {
wc_add_notice("Sorry, $type not availabe. Total available $type is $available_seat of $event_name on $event_date_txt but you select $ticket_qty . Please Try Again", 'error'); wc_add_notice("Sorry, $type not available. Total available $type is $available_seat of $event_name on $event_date_txt but you select $ticket_qty . Please Try Again", 'error');
} }
} }
} }

View File

@ -4166,7 +4166,7 @@ if (!function_exists('mep_custom_share_btn')) {
function mep_custom_share_btn($event_id) { function mep_custom_share_btn($event_id) {
?> ?>
<li> <li>
<a href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo get_the_permalink($event_id); ?>&title=<?php echo mep_html_chr(get_the_title($event_id)) . ' '; ?>&summary=<?php echo get_the_excerpt($event_id); ?>&source=web" target="_blank"> <a href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo get_the_permalink($event_id); ?>&title=<?php echo mep_html_chr(get_the_title($event_id)) . ' '; ?>&summary=<?php echo esc_html(get_the_excerpt($event_id)); ?>&source=web" target="_blank">
<i class="fab fa-linkedin"></i> <i class="fab fa-linkedin"></i>
</a> </a>
</li> </li>

View File

@ -16,8 +16,6 @@ if (!defined('ABSPATH')) {
die; die;
} // Cannot access pages directly. } // Cannot access pages directly.
include_once(ABSPATH . 'wp-admin/includes/plugin.php'); include_once(ABSPATH . 'wp-admin/includes/plugin.php');
if (is_plugin_active('woocommerce/woocommerce.php')) { if (is_plugin_active('woocommerce/woocommerce.php')) {
function appsero_init_tracker_mage_eventpress() function appsero_init_tracker_mage_eventpress()
@ -47,4 +45,4 @@ if (is_plugin_active('woocommerce/woocommerce.php')) {
); );
} }
add_action('admin_notices', 'mep_admin_notice_wc_not_active'); add_action('admin_notices', 'mep_admin_notice_wc_not_active');
} }