« Back to profile of iHomam

  • Action Script

    Remove The Dashboard Update Message

    A particularly useful function of WordPress is that it informs you when a new update is available to download. This is displayed at the top of your WordPress admin panel However, there are occasions where you might not want this message to displayed – for example, if you’re building a WordPress site for a client simply add the following lines of code to your functions.php file:

    13:36 Aug 05 2010 | Tags : wordpress,php,
    						remove_action('wp_version_check', 'wp_version_check');
remove_action('admin_init', '_maybe_update_core');
add_filter('pre_transient_update_core', create_function( '$a', "return null;"));    			         
Owned Code : Chris
Add comment
To add a comment, please : Login or Sign up
    iHomam
    Homam m
  • New visitor?

    On setCode, you can save your codes, functions and classes, you can also share them with your friends, and track your favorite developer

    Join the SetCode community
  • Your language here :