WordPress.org

Forums

WooCommerce - excelling eCommerce
[resolved] how to check when i'm in pay page (2 posts)

  1. roozzak
    Member
    Posted 1 year 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 .
    thx

    https://wordpress.org/plugins/woocommerce/

  2. roozzak
    Member
    Posted 1 year ago #

    i have the answer for this,

    is_checkout() && !is_checkout_pay_page() && !is_order_received_page()

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic