Automattic\WooCommerce\Blocks\BlockTypes\OrderConfirmation

AdditionalInformation::remove_core_hooks()protectedWC 1.0

Remove core hooks from the thankyou page.

Method of the class: AdditionalInformation{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->remove_core_hooks();

AdditionalInformation::remove_core_hooks() code WC 8.9.0

protected function remove_core_hooks() {
	remove_action( 'woocommerce_thankyou', 'woocommerce_order_details_table', 10 );
}