Added fronthook filters to access the config from the theme
authorLaury GvR <laury@gaslightmedia.com>
Tue, 7 Jun 2016 16:59:58 +0000 (12:59 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 7 Jun 2016 16:59:58 +0000 (12:59 -0400)
setup/frontHooks.php

index 9f9438e..c037f9e 100644 (file)
@@ -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