Support » Plugin: WooCommerce » how to check when i'm in pay page
3 years, 1 month ago
conditional tags for pay page
how to check when i’m in pay page, i try to use is_checkout(), but the endpoint from checkout ( add payment method & order received ) included in is_checkout(). i just want in pay page .
i have the answer for this,
is_checkout() && !is_checkout_pay_page() && !is_order_received_page()