Thanks for help! I did something like this
function conditionally_remove_wc_assets() {
// if this is a WC page, abort.
if ( is_wc_page() ) {
return;
}
if ( is_page(295) ) {
return;
}
It seems to work. I have no idea about php, so I hope this code won’t break aanything.
-
This reply was modified 2 years, 8 months ago by szymonnt.
-
This reply was modified 2 years, 8 months ago by szymonnt.