/** * Live directions panel * Holder for the results of the live directions * * @since 2.6.1 */ public function directions_panel() { $info = new stdClass(); $info->ID = $this->args['element_id']; $output = '<div id="gmw-sl-live-directions-panel-wrapper-' . esc_attr($this->args['element_id']) . '" class="gmw-sl-live-directions-panel-wrapper gmw-sl-element gmw-sl-' . esc_attr($this->args['item_type']) . '-live-direction-panel-wrapper">'; $output .= gmw_get_live_directions_panel($info, false); $output .= "</div>"; return apply_filters('gmw_sl_live_directions_panel', $output, $this->args, $this->item_info, $this->user_position); }
function gmw_live_directions_panel($info, $gmw) { echo gmw_get_live_directions_panel($info, $gmw); }