disable updates for plugins 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' );
define( 'WP_AUTO_UPDATE_CORE', false );
add_filter( 'plugins_auto_update_enabled', '__return_false' );