Wordpress updates deaktivieren

From wiki.network-crawler.de
Jump to: navigation, search

in functions.php

//add to the theme function.php - plugin updates (WordPress: +3.0)
remove_action( 'load-update-core.php', 'wp_update_plugins' );
add_filter( 'pre_site_transient_update_plugins', create_function( '$a', "return null;" ) );

//add to the theme function.php - core updates (WordPress: +3.0)
add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) );

in wp-config

define('WP_AUTO_UPDATE_CORE', false);