Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to Disable Wordpress Updates

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 575
    Comment on it

    If you would like to disable word-press updates please follow the below process:

    Open your current selected Theme folder.
    Open under this folder function.php and put the below code at the end of this file

    //To Disable Theme Updates # WP Version 3.0+
    remove_action( 'load-update-core.php', 'wp_update_themes' );
    add_filter( 'pre_site_transient_update_themes', create_function( '$a', "return null;" ) );
    wp_clear_scheduled_hook( 'wp_update_themes' );
    //To Disable Plugin Updates # WP Version 3.0+
    remove_action( 'load-update-core.php', 'wp_update_plugins' );
    add_filter( 'pre_site_transient_update_plugins', create_function( '$a', "return null;" ) );
    wp_clear_scheduled_hook( 'wp_update_plugins' );
    //To Diasable Core Updates # WP Version 3.0+
    add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) );
    wp_clear_scheduled_hook( 'wp_version_check' );

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: