Return to Snippet

Revision: 41599
at February 21, 2011 00:49 by zac


Initial Code
if ( !current_user_can( 'install_themes' ) ) {
  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
remove updgrade message for all but admin

Initial Tags
wordpress

Initial Language
PHP