projects
/
WP-Plugins
/
glm-member-db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04a9a8f
)
Added fronthook filters to access the config from the theme
author
Laury GvR
<laury@gaslightmedia.com>
Tue, 7 Jun 2016 16:59:58 +0000
(12:59 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Tue, 7 Jun 2016 16:59:58 +0000
(12:59 -0400)
setup/frontHooks.php
patch
|
blob
|
history
diff --git
a/setup/frontHooks.php
b/setup/frontHooks.php
index
9f9438e
..
c037f9e
100644
(file)
--- a/
setup/frontHooks.php
+++ b/
setup/frontHooks.php
@@
-155,3
+155,13
@@
function glm_members_only_template( $template ) {
}
return $template;
}
+
+/*
+ *
+ */
+add_filter('glm_associate_config', function() {
+ return $this->config;
+});
+add_filter('glm_associate_terms', function() {
+ return $this->config['terms'];
+});
\ No newline at end of file