LIVE Thursday, October 29, 2026 DOW ▲ +0.42% S&P 500 ▲ +0.65% NASDAQ ▲ +0.81%
BBBBFNEWS
BBBBF News – Breaking World, U.S. & Business Headlines
Real-time international reporting, market trends, technological breakthroughs, and in-depth global perspectives.
ALERT
WEBSITE TUTORIAL

How to disable automatic updates for themes and plugins in WordPress

How to disable automatic updates for themes and plugins in WordPress

1: Insert the following code into the functions.php file in the root directory of the current WordPress theme:
add_filter(‘pre_site_transient_update_core’, create_function(‘$a’, “return null;”)); // Close core prompts
add_filter(‘pre_site_transient_update_plugins’, create_function(‘$a’, “return null;”)); // Close plugin prompts
add_filter(‘pre_site_transient_update_themes’, create_function(‘$a’, “return null;”)); // Close theme prompts
remove_action(‘admin_init’, ‘_maybe_update_core’); // Disable WordPress from checking for updates
remove_action(‘admin_init’, ‘_maybe_update_plugins’); // Disable WordPress from updating plugins
remove_action(‘admin_init’, ‘_maybe_update_themes’); // Disable WordPress Update theme
2: Add the following code to the wp-config.php configuration file in the WordPress root directory:

define( ‘AUTOMATIC_UPDATER_DISABLED’, true );