log.aroute.net

WordPressの更新通知を止める

// stop wordpres update
add_filter(‘pre_site_transient_update_core’, create_function(‘$a’, “return null;”));
 
// stop plugin update
remove_action( ‘load-update-core.php’, ‘wp_update_plugins’ );
add_filter( ‘pre_site_transient_update_plugins’, create_function( ‘$a’, “return null;” ) );
 
// stop theme update
remove_action( ‘load-update-core.php’, ‘wp_update_themes’ );
add_filter( ‘pre_site_transient_update_themes’, create_function( ‘$a’, “return null;” ) );

Instagram