WordPress at Your Fingertips
function is not described

WC_Gateway_BACS::thankyou_page() public WC 1.0

Output for the order received page.

{} It's a method of the class: WC_Gateway_BACS{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Gateway_BACS = new WC_Gateway_BACS();
$WC_Gateway_BACS->thankyou_page( $order_id );
$order_id(int) (required)
Order ID.

Code of WC_Gateway_BACS::thankyou_page() WC 5.6.0

public function thankyou_page( $order_id ) {

	if ( $this->instructions ) {
		echo wp_kses_post( wpautop( wptexturize( wp_kses_post( $this->instructions ) ) ) );
	}
	$this->bank_details( $order_id );

}