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

25 lines
766 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')) {
2021-09-03 06:25:05 -04:00
function mep_shortcode_add_cart_section_html($event,$params)
2020-05-24 04:17:41 -04:00
{
2021-09-03 06:25:05 -04:00
// print_r($params);
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'>
2021-09-03 06:25:05 -04:00
<?php mep_get_event_reg_btn($event,$params); ?>
2020-05-24 04:17:41 -04:00
<?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
}