Create a gist now

Instantly share code, notes, and snippets.

GlotPress - plugin to remove Google Translate links
<?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