check if current url/page equals checkout page [closed]

To answer the question in this posts’s title, you don’t need to check for the page’s URL to see if you’re on the checkout page as Woocommerce has a conditional for that – is_checkout()