is_order_received_page()

Is_order_received_page – Returns true when viewing the order received page.


Description Description


Return Return

(bool)


Top ↑

Source Source

File: includes/wc-conditional-functions.php

	function is_order_received_page() {
		global $wp;

		$page_id = wc_get_page_id( 'checkout' );

		return apply_filters( 'woocommerce_is_order_received_page', ( $page_id && is_page( $page_id ) && isset( $wp->query_vars['order-received'] ) ) );
	}


Top ↑

User Contributed Notes User Contributed Notes

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