PenciDesign Supporter replied
Hi,
Why do you need to add PHP code when we’ve already provided an option to remove it? This option will remove all the swatches you want on the product archive page.
Please go to Appearance → Customize → WooCommerce → Shop Settings → Grid Swatch Attribute to Display, and clear all product attributes in this field.
If you still prefer to remove it using PHP, here is the code:
remove_all_actions( 'penci_swatches_loop' );
However, please note that some functions of Soledad and WooCommerce may not work properly if you use this code instead of modifying it via the theme options.
Regards,
PenciDesign.