woof_init_archive_by_default
Disables ‘Enable archives‘ in product attributes programmatically on the fly when necessary
add_filter('woof_init_archive_by_default', function($is) {
return false;
}, 99, 1);

From v.2.2.5/1.2.5
Disables ‘Enable archives‘ in product attributes programmatically on the fly when necessary
add_filter('woof_init_archive_by_default', function($is) {
return false;
}, 99, 1);

From v.2.2.5/1.2.5