Automattic\WooCommerce\Blocks\BlockTypes\OrderConfirmation
AdditionalInformation::restore_core_hooks()
Restore 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->restore_core_hooks();
AdditionalInformation::restore_core_hooks() AdditionalInformation::restore core hooks code WC 9.6.0
protected function restore_core_hooks() { add_action( 'woocommerce_thankyou', 'woocommerce_order_details_table', 10 ); }