Woocommerce revision does not contain product variations

[ad_1]

I enabled revision for woocommerce using this snippet:

add_filter( 'woocommerce_register_post_type_product', 'wc_modify_product_post_type' ); function wc_modify_product_post_type( $args ) { $args['supports'][] = 'revisions'; return $args; }

But it only tracks product description. I wanted to have product data also which contains variations,attributes and shipping settings.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer