Select the appropriate code as needed and put it in the functions. php file of the topic.
/* Remove the WordPress backend upgrade prompt * // 2.8 ~ 2.9: add_filter ('pre _ transient_update_core ', create_function (' $ A', "return NULL;"); // don't update coreadd_filter ('pre _ transient_update_plugins ', create_function ('$ A', "return NULL;"); // don't update pluginsadd_filter ('pre _ transient_update_themes', create_function ('$ A', "return NULL; "); // don't update themes // 3.0 ~ 3.1: add_filter ('pre _ site_transient_update_core ', create_function (' $ A', "return NULL;"); // don't update coreadd_filter ('pre _ site_transient_update_plugins ', create_function ('$ A', "return NULL;"); // don't update pluginsadd_filter ('pre _ site_transient_update_themes', create_function ('$ A', "return NULL; "); // don't update themes
First, because of my obsessive-compulsive disorder, every time I see updates in the background, I feel uncomfortable. Second, I think about it when I see an uncomfortable situation, the plug-in and system will be upgraded after the upgrade. This is because the theme is upgraded once, and all the settings of the maxcompute are gone. All gone ...... You have worked hard for a long time to optimize Seo. So if you have obsessive-compulsive disorder, add it to your favorites!
Note: update_core indicates system upgrade, update_plugins indicates plug-in upgrade, and update_themes indicates subject upgrade.