is_checkout_pay_page()

Is_checkout_pay – Returns true when viewing the checkout’s pay page.


Description Description


Return Return

(bool)


Top ↑

Source Source

File: includes/wc-conditional-functions.php

	function is_checkout_pay_page() {
		global $wp;

		return is_checkout() && ! empty( $wp->query_vars['order-pay'] );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.