Ecommerce Shopify WordPress Discussion

Correct way to stop a function working on a certain page [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 7 days ago. Improve this question I am trying to stop this currency switcher showing on a certain page on my wordpress site. I've checked this is definitely the correct page ID but the function is still showing the currency switcher on this page. Any help would be appreciated <?php if ( function_exists( 'wc_get_currency_switcher_markup' ) && !is_page(7283)); { $instance = [ 'symbol' => true, 'flag' => true, ]; $args = []; echo wc_get_currency_switcher_markup( $instance, $args ); } ?> Inspect Element showing the page id I am trying to prevent showing the switcher on I have tried the above code and was expecting the currency switcher to not show on this page.
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.