From: Steve Sutton Date: Fri, 10 Aug 2018 18:04:32 +0000 (-0400) Subject: Add filter X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=c70a4e1d8f42399cc0e4a023a7c2ddc5ec0915e2;p=WP-Plugins%2Fglm-member-db-for-sale.git Add filter To test if plugin is enabled. --- diff --git a/setup/adminHooks.php b/setup/adminHooks.php index 879384b..baf00cb 100644 --- a/setup/adminHooks.php +++ b/setup/adminHooks.php @@ -25,3 +25,9 @@ * * Also note that parameters will be in the context of the main admin controller constructor. */ +add_filter( + 'glm-members-forsale-enabled', + function( $content ){ + return true; + },10, 1 +);