/** * make_the_title_a_link * callback for widget_title filter * * @param $title * @return string */ public function make_the_title_a_link($title) { return '<a href="' . EEH_Event_View::event_archive_url() . '">' . $title . '</a>'; }
/** * Child scope classes indicate what gets returned when the frontend_url is requested. * Frontend url usually points to the single page view for the given id. * * @since 1.0.0 * @param int | EE_Event[] $EVT_ID ID or array of ids for the EE_Event object being utilized * @return string */ public function get_frontend_url($EVT_ID) { EE_Registry::instance()->load_helper('Event_View'); if (empty($EVT_ID) || is_array($EVT_ID)) { return EEH_Event_View::event_archive_url(); } return EEH_Event_View::event_link_url($EVT_ID); }
<th> <label for="event_listings_url"> <?php _e('Event Listings URL', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('event_listings_url_info'); ?> </label> </th> <td> <a id="event_listings_url" class="ee-admin-settings-hdr-lnk small-text" href="<?php echo EEH_Event_View::event_archive_url(); ?> "><?php echo EEH_Event_View::event_archive_url(); ?> </a> </td> </tr> <tr> <th> <label for="event_cpt_slug"> <?php _e('Event Slug', 'event_espresso'); ?> </label> </th> <td> <p><?php