Forbid, plugin update, theme update, wordpress itself update prompt methods

No wp update

Add_filter (‘ pre_site_transient_update_core, create_function (” $a “, “return null;” )); // close the core prompt

Add_filter (‘ pre_site_transient_update_plugins, create_function (” $a “, “return null;” )); // close the plug-in prompt

Add_filter (‘ pre_site_transient_update_themes, create_function (” $a “, “return null;” )); // close the topic prompt

Remove_action (‘ admin_init ‘, ‘_maybe_update_core’); // forbid wordpress to check for updates

Remove_action (‘ admin_init ‘, ‘_maybe_update_plugins’); // wordpress is prohibited from updating plugins

Remove_action (‘ admin_init ‘, ‘_maybe_update_themes’); // WordPress is prohibited from updating the theme