Created
January 15, 2026 14:00
-
-
Save xlplugins/6c30886ac1a7ee859956e4f38b9d9a2c to your computer and use it in GitHub Desktop.
Disable theme's WooCommerce standard page filter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'theme_mod_penci_woocommerce_standard_page', function( $value ) { | |
| // Check if we're on checkout page | |
| if ( is_checkout() ) { | |
| $value=false; | |
| } | |
| return $value; | |
| }, 999 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment