Added filter to do quick check if this add-on is active.
authorChuck Scott <cscott@gaslightmedia.com>
Tue, 27 Nov 2018 20:24:38 +0000 (15:24 -0500)
committerChuck Scott <cscott@gaslightmedia.com>
Tue, 27 Nov 2018 20:24:38 +0000 (15:24 -0500)
setup/commonHooks.php [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index f78b67f..2226daa
  *  Also note that parameters will be in the context of the main admin controller constructor.
   */
 
+// Filter other plugins can use to do a quick check if this plugin is installed and active.
+add_filter( 'glm-member-db-contacts-active', function() {
+    return true;
+});
+
 /**
  * Filter to get the user meta for a contact.
  */