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.
|
|
|
|
|
|
|
|
add_action('mep_event_speakers_list_shortcode_template', 'mep_shortcode_speaker_list_html');
|
|
|
|
if (!function_exists('mep_shortcode_speaker_list_html')) {
|
|
|
|
function mep_shortcode_speaker_list_html($event_id)
|
|
|
|
{
|
2020-04-28 06:37:33 -04:00
|
|
|
?>
|
2020-05-24 04:17:41 -04:00
|
|
|
<div class="mep-default-sidebar-speaker-list">
|
|
|
|
<?php echo mep_display_speaker_list($event_id); ?>
|
|
|
|
</div>
|
2020-04-28 06:37:33 -04:00
|
|
|
<?php
|
2020-05-24 04:17:41 -04:00
|
|
|
}
|
|
|
|
}
|
2020-07-20 06:01:44 -04:00
|
|
|
|
|
|
|
if (!function_exists('mep_shortcode_all_speaker_list_html')) {
|
|
|
|
function mep_shortcode_all_speaker_list_html()
|
|
|
|
{
|
|
|
|
?>
|
|
|
|
<div class="mep-default-sidebar-speaker-list">
|
|
|
|
<?php echo mep_display_all_speaker_list(); ?>
|
|
|
|
</div>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
}
|