Hi Shameem,
thanks for your answer.
I think there is a misunderstanding, however. My problem lies in the fact that the line
define(‘EMPTY_TRASH_DAYS’, 1 );
does not delete my WooCommerce products in trash as it should be as far as I understand. The same is stated in the first two links you provided – the discussion is only about how to differentiate between certain post types when you *don’t* want them to be treated normally.
I also tried the Empty Trash Time plugin already – no function. When I use the automatic delete function of the WP Optimize plugin, however, the products get deleted. Support states that there is no difference normally between the stuff in trash. I cannot use that plugin though because it interfered with my existing caching setup.
So the links from Stackexchange and Stackoverflow as well as WP Optimize support say the one line in wp-config should delete all post types. You say otherwise and in reality it only works with WP Optimize which I cannot use.
Do you have any idea what the probem could be? Or do you have another line for the wp-config, maybe with this method the WooCommerce products need to be addressed seperately?
Thanks a lot!