/** * Prints out a list of locations, takes same arguments as em_get_locations. * @param array|string $args * @uses em_get_locations() */ function em_locations($args = array()) { echo em_get_locations($args); }
/** * The template for displaying event locations list * * Override this template by copying it to yourtheme/archive-taxonomy-event-location.php * * @author Digital Factory * @package Events Maker/Templates * @since 1.6.0 */ if (!defined('ABSPATH')) { exit; } // exit if accessed directly // get locations $locations = em_get_locations(); ?> <?php // start the loop if ($locations) { // setup object global $location; ?> <?php /** * em_before_event_locations_loop hook * * @hooked em_display_loop_event_google_map - 10 */