projects
/
WP-Plugins
/
glm-member-db-leads.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da86b0
)
Hide the main dashboard widget for leads.
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 4 Oct 2016 14:15:49 +0000
(10:15 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 4 Oct 2016 14:15:49 +0000
(10:15 -0400)
Not complete yet.
setup/adminHooks.php
patch
|
blob
|
history
diff --git
a/setup/adminHooks.php
b/setup/adminHooks.php
index
cdff438
..
400dad1
100644
(file)
--- a/
setup/adminHooks.php
+++ b/
setup/adminHooks.php
@@
-34,7
+34,7
@@
if ( current_user_can( 'glm_members_members' ) ) {
wp_add_dashboard_widget( 'dashboard_widget', 'Example Dashboard Widget', 'ts_dashboard_1' );
}
- add_action( 'wp_dashboard_setup', 'add_ts_dashboard' );
+
//
add_action( 'wp_dashboard_setup', 'add_ts_dashboard' );
}
add_filter(