@@ 218-225 (lines=8) @@ | ||
215 | } |
|
216 | ||
217 | ||
218 | public function nav_metabox_items( $menuitems ) { |
|
219 | $menuitems[] = array( |
|
220 | 'title' => __('Venue List', 'event_espresso'), |
|
221 | 'url' => get_post_type_archive_link( 'espresso_venues' ), |
|
222 | 'description' => __('Archive page for all venues.', 'event_espresso') |
|
223 | ); |
|
224 | return $menuitems; |
|
225 | } |
|
226 | ||
227 | /** |
|
228 | * Adds the payment methods in {event-espresso-core}/caffeinated/payment_methods |
@@ 403-410 (lines=8) @@ | ||
400 | * @todo for now this method is just in place so when it gets abstracted further we can substitute in whatever method we use for getting the extra nav menu items |
|
401 | * @return array |
|
402 | */ |
|
403 | private function _get_extra_nav_menu_pages_items() { |
|
404 | $menuitems[] = array( |
|
405 | 'title' => __('Event List', 'event_espresso'), |
|
406 | 'url' => get_post_type_archive_link( 'espresso_events' ), |
|
407 | 'description' => __('Archive page for all events.', 'event_espresso') |
|
408 | ); |
|
409 | return apply_filters( 'FHEE__EE_Admin__get_extra_nav_menu_pages_items', $menuitems ); |
|
410 | } |
|
411 | ||
412 | ||
413 |