Created
May 18, 2013 18:15
-
-
Save brasofilo/5605328 to your computer and use it in GitHub Desktop.
GlotPress - plugin to remove Google Translate links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Glot_No_Google extends GP_Plugin { | |
function __construct() { | |
parent::__construct(); | |
$this->add_action( 'gp_head' ); | |
} | |
function gp_head() { | |
echo '<style type="text/css">.gtranslate {display:none}</style>'; | |
} | |
} | |
GP::$plugins->glot_no_google = new Glot_No_Google; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment