Created
June 15, 2022 23:06
-
-
Save clifgriffin/3794b001d38e265a17ea64d429374e7f to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
add_filter( | |
'cfw_disable_side_cart', | |
function() { | |
return boolval( preg_match( "/^\/the-page-slug/", $_SERVER['REQUEST_URI'] ) ); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment