Return to Snippet

Revision: 47482
at June 9, 2011 00:53 by xavsio4


Initial Code
if ( !current_user_can( 'edit_users' ) ) {
  add_action( 'init', create_function( '$a', "remove_action( 'init', 'wp_version_check' );" ), 2 );
  add_filter( 'pre_option_update_core', create_function( '$a', "return null;" ) );
}

Initial URL


Initial Description


Initial Title
Wordpress - Remove upgrade message

Initial Tags
php, wordpress

Initial Language
PHP