revert changes
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 18 Sep 2017 12:25:44 +0000 (08:25 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 18 Sep 2017 12:25:44 +0000 (08:25 -0400)
This effects all of the titles.

setup/frontHooks.php

index 8fc5791..b9e1399 100644 (file)
@@ -93,9 +93,6 @@ if (strpos(GLM_MEMBERS_PLUGIN_CURRENT_URL, '/'.$this->config['settings']['canoni
     add_filter( 'wp_title', function($title) {
         return $GLOBALS['glmEventName'];
     }, 99, 1 );
-    add_filter( 'the_title', function($title) {
-        return $GLOBALS['glmEventName'];
-    }, 99, 1 );
     add_filter( 'wpseo_opengraph_title', function($tag){
         return $GLOBALS['glmEventName'];
     }, 99, 1 );