Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A small WordPress plugin to disable the asynchronous and automatic background translation updates
<?php
/*
Plugin Name: Disable Translation Updates
Plugin URI: https://gist.github.com/2ndkauboy/1907f5847b4e092a88ac
Description: Disable the asynchronous and automatic background translation updates
Version: 1.0.0
Author: Bernhard Kau
Author URI: http://kau-boys.de
License: GPL
*/
// @source: https://make.wordpress.org/core/2014/09/05/language-chooser-in-4-0/
add_filter( 'async_update_translation', '__return_false' );
add_filter( 'auto_update_translation', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment