WordPress at Your Fingertips
function is not described

WC_Gateway_COD::thankyou_page() public WC 1.0

Output for the order received page.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Gateway_COD = new WC_Gateway_COD();
$WC_Gateway_COD->thankyou_page();

Code of WC_Gateway_COD::thankyou_page() WC 5.7.1

public function thankyou_page() {
	if ( $this->instructions ) {
		echo wp_kses_post( wpautop( wptexturize( $this->instructions ) ) );
	}
}