projects
/
WP-Themes
/
universitycenter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a980dcc
)
Adding folder name to admin url for Event Reg
author
Steve Sutton
<steve@gaslightmedia.com>
Fri, 13 Jan 2017 16:09:53 +0000
(11:09 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Fri, 13 Jan 2017 16:09:53 +0000
(11:09 -0500)
For the Event Registration link we want it to only link into the Event
Registration url and not the entire admin area.
lib/EventRegistration.php
patch
|
blob
|
history
diff --git
a/lib/EventRegistration.php
b/lib/EventRegistration.php
index
4e0c972
..
2e41bde
100644
(file)
--- a/
lib/EventRegistration.php
+++ b/
lib/EventRegistration.php
@@
-21,7
+21,7
@@
add_action( 'admin_bar_menu', function( $wp_admin_bar ){
$args = array(
'id' => 'eventregistrations',
'title' => 'Event Registrations',
- 'href' => 'http://dev53.gaslightmedia.com/www.ucgaylord.org/admin/',
+ 'href' => 'http://dev53.gaslightmedia.com/www.ucgaylord.org/admin/
Registrations/
',
'meta' => array(
'class' => 'eventregistrations',
'title' => 'Event Registrations',