Created
March 4, 2017 13:20
-
-
Save IacopoC/f1cb8bef1e8cddf4f6446082b20b7dc1 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 | |
// return true if we are in the cart page | |
is_cart(); | |
// return true if we are in the checkout page | |
is_checkout(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment