disable automatic plugin updates wordpress code example
Example 1: disable wordpress updates
define( 'WP_AUTO_UPDATE_CORE', false );
Example 2: deactivate auto update wordpress plugins
add_filter( 'plugins_auto_update_enabled', '__return_false' );