mage-eventpress/inc/template-prts/shortcode_add_cart_section.php

23 lines
720 B
PHP
Raw Normal View History

2020-04-28 06:37:33 -04:00
<?php
2020-05-24 04:17:41 -04:00
if (!defined('ABSPATH')) {
die;
} // Cannot access pages directly.
2020-04-28 06:37:33 -04:00
2020-05-24 04:17:41 -04:00
add_action('mep_shortcode_add_cart_section', 'mep_shortcode_add_cart_section_html');
if (!function_exists('mep_shortcode_add_cart_section_html')) {
function mep_shortcode_add_cart_section_html($event)
{
2020-04-28 06:37:33 -04:00
?>
2020-05-24 04:17:41 -04:00
<div class='mep-events-shortcode-cart-section'>
<div class='mep-events-wrapper'>
<div class='mep-default-feature-cart-sec'>
<?php mep_get_event_reg_btn($event); ?>
<?php mep_single_page_js_script($event); //do_action('mep_add_to_cart_shortcode_js',$event);
?>
</div>
</div>
2020-04-28 06:37:33 -04:00
</div>
<?php
2020-05-24 04:17:41 -04:00
}
2020-04-28 06:37:33 -04:00
}