Automattic\WooCommerce\Blocks\BlockTypes\OrderConfirmation
AdditionalInformation::remove_core_hooks
Remove core hooks from the thankyou page.
Method of the class: AdditionalInformation{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->remove_core_hooks();
AdditionalInformation::remove_core_hooks() AdditionalInformation::remove core hooks code WC 10.7.0
protected function remove_core_hooks() {
remove_action( 'woocommerce_thankyou', 'woocommerce_order_details_table', 10 );
}