Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
GlotPress - plugin to remove Google Translate links
class Glot_No_Google extends GP_Plugin {
function __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
You can’t perform that action at this time.