From 6e776e0967465e6447797872c67b69d8c0907848 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 18 Nov 2016 09:55:55 -0500 Subject: [PATCH] Add new menu item for Event Registrations Going to the dev53 copy for Event Registrations. --- functions.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 694954e..600b687 100644 --- a/functions.php +++ b/functions.php @@ -11,4 +11,17 @@ include_once 'lib/plugins.php'; include_once 'lib/force-template-functions.php'; include_once 'lib/EventRegistration.php'; -?> + + add_action( 'admin_bar_menu', function( $wp_admin_bar ){ + $args = array( + 'id' => 'eventregistrations', + 'title' => 'Event Registrations', + 'href' => 'http://dev53.gaslightmedia.com/www.harborcountry.org/admin/', + 'meta' => array( + 'class' => 'eventregistrations', + 'title' => 'Event Registrations', + 'target' => '_blank' + ) + ); + $wp_admin_bar->add_node( $args ); + }, 999 ); -- 2.17.1