![](https://www.girlonthemove.nl/wp-content/uploads/2018/03/quote-If-you-have-good-thoughts-they-will-shine-out-of-your-face-like-sunbeams-and-you-will-always-look-lovely.jpg)
If you have good thoughts, they will shine out of your face like sunbeams and you will always look lovely.
- Roald Dahl
add_action( 'wp', 'bbloomer_remove_sidebar_product_pages' ); function bbloomer_remove_sidebar_product_pages() { if ( is_product() ) { remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 ); } }