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

old mode 100644 (file)
new mode 100755 (executable)
index 11f24a7..3f24269
  *  depending on where the hook is called from.
  */
 
+/**
+ * Filter will return true if the plugin is active.
+ */
+add_filter( 'glm-members-search-plugin-active', function( $active ){
+    return true;
+}, 10, 1 );
+
 
 /* Filters to ask for a page to be indexed and removed
  *