public/wordpress/wp-content/plugins/wp-courseware/includes/controllers/checkout.php
/**
	 * Checkout Display.
	 *
	 * @since 4.3.0
	 *
	 * @param array $atts The array of shortcode attributes.
	 */
Checkout Display.

@param array $atts The array of shortcode attributes.
Checkout Display . @param array $atts The array of shortcode attributes .
public function checkout_display( $atts = array() ) {
		global $wp;
		if ( isset( $wp->query_vars['order-received'] ) ) {
			$this->checkout_page_order_received( absint( $wp->query_vars['order-received'] ) );
		} elseif ( isset( $wp->query_vars['order-failed'] ) ) {
			$this->checkout_page_order_failed( absint( $wp->query_vars['order-failed'] ) );
		} else {
			$this->checkout_page();
		}
	}
public function checkout_display ( $ atts = array ( ) ) { global $ wp ; if ( isset ( $ wp -> query_vars [ 'order-received' ] ) ) { $ this -> checkout_page_order_received ( absint ( $ wp -> query_vars [ 'order-received' ] ) ) ; } elseif ( isset ( $ wp -> query_vars [ 'order-failed' ] ) ) { $ this -> checkout_page_order_failed ( absint ( $ wp -> query_vars [ 'order-failed' ] ) ) ; } else { $ this -> checkout_page ( ) ; } }
Checkout Display.
Checkout Display .